The following edits were made: \

1. Updated UDP send data code\
2. Corrected internet checksum\
3. Moved udp_buffer() and udp_buflen() to udp.c from udp.h
This commit is contained in:
Nikhil Chandru Rao
2006-07-19 16:25:23 +00:00
parent b8d619e822
commit ab577e1a3a
4 changed files with 62 additions and 33 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ extern void trans_rx ( struct pk_buff *pkb, uint8_t trans_proto,
extern int trans_tx ( struct pk_buff *pkb, struct tcpip_protocol *tcpip,
struct sockaddr *dest );
extern uint16_t calc_chksum ( void *data, size_t len );
extern uint16_t calc_chksum ( void *b, int len );
extern struct tcpip_protocol * find_tcpip_protocol ( uint8_t trans_proto );
extern struct tcpip_net_protocol * find_tcpip_net_protocol ( sa_family_t sa_family );