|  | @@ -13,6 +13,10 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
 | 
		
	
		
			
			| 13 | 13 |  #include <ipxe/socket.h>
 | 
		
	
		
			
			| 14 | 14 |  #include <ipxe/in.h>
 | 
		
	
		
			
			| 15 | 15 |  #include <ipxe/tables.h>
 | 
		
	
		
			
			|  | 16 | +
 | 
		
	
		
			
			|  | 17 | +extern uint16_t generic_tcpip_continue_chksum ( uint16_t partial,
 | 
		
	
		
			
			|  | 18 | +						const void *data, size_t len );
 | 
		
	
		
			
			|  | 19 | +
 | 
		
	
		
			
			| 16 | 20 |  #include <bits/tcpip.h>
 | 
		
	
		
			
			| 17 | 21 |  
 | 
		
	
		
			
			| 18 | 22 |  struct io_buffer;
 | 
		
	
	
		
			
			|  | @@ -195,17 +199,8 @@ extern int tcpip_tx ( struct io_buffer *iobuf, struct tcpip_protocol *tcpip,
 | 
		
	
		
			
			| 195 | 199 |  extern struct tcpip_net_protocol * tcpip_net_protocol ( sa_family_t sa_family );
 | 
		
	
		
			
			| 196 | 200 |  extern struct net_device * tcpip_netdev ( struct sockaddr_tcpip *st_dest );
 | 
		
	
		
			
			| 197 | 201 |  extern size_t tcpip_mtu ( struct sockaddr_tcpip *st_dest );
 | 
		
	
		
			
			| 198 |  | -extern uint16_t generic_tcpip_continue_chksum ( uint16_t partial,
 | 
		
	
		
			
			| 199 |  | -						const void *data, size_t len );
 | 
		
	
		
			
			| 200 | 202 |  extern uint16_t tcpip_chksum ( const void *data, size_t len );
 | 
		
	
		
			
			| 201 | 203 |  extern int tcpip_bind ( struct sockaddr_tcpip *st_local,
 | 
		
	
		
			
			| 202 | 204 |  			int ( * available ) ( int port ) );
 | 
		
	
		
			
			| 203 | 205 |  
 | 
		
	
		
			
			| 204 |  | -/* Use generic_tcpip_continue_chksum() if no architecture-specific
 | 
		
	
		
			
			| 205 |  | - * version is available
 | 
		
	
		
			
			| 206 |  | - */
 | 
		
	
		
			
			| 207 |  | -#ifndef tcpip_continue_chksum
 | 
		
	
		
			
			| 208 |  | -#define tcpip_continue_chksum generic_tcpip_continue_chksum
 | 
		
	
		
			
			| 209 |  | -#endif
 | 
		
	
		
			
			| 210 |  | -
 | 
		
	
		
			
			| 211 | 206 |  #endif /* _IPXE_TCPIP_H */
 |