[dhcp-agent-commits] dhcp-agent/src dhcp-libutil.h,1.33,1.34
Status: Alpha
Brought to you by:
actmodern
From: <act...@us...> - 2004-05-25 06:45:10
|
Update of /cvsroot/dhcp-agent/dhcp-agent/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26851 Modified Files: dhcp-libutil.h Log Message: Updated prototype to udp_sock_create Index: dhcp-libutil.h =================================================================== RCS file: /cvsroot/dhcp-agent/dhcp-agent/src/dhcp-libutil.h,v retrieving revision 1.33 retrieving revision 1.34 diff -C2 -d -r1.33 -r1.34 *** dhcp-libutil.h 26 Jul 2003 23:46:16 -0000 1.33 --- dhcp-libutil.h 25 May 2004 06:45:01 -0000 1.34 *************** *** 316,320 **** /* udp socket routines. */ ! extern int udp_sock_create(uint16_t source_port, ip_addr_t local_addr); extern void udp_sock_destroy(int sd); extern int udp_sock_recv(int sd, uint8_t *buff, size_t buffsize, ip_addr_t *src_addr); --- 316,320 ---- /* udp socket routines. */ ! extern int udp_sock_create(uint16_t source_port, ip_addr_t local_addr, const char *device); extern void udp_sock_destroy(int sd); extern int udp_sock_recv(int sd, uint8_t *buff, size_t buffsize, ip_addr_t *src_addr); *************** *** 336,340 **** /* Line length for messages before breaking into a new line. */ ! #define MESSAGE_LINE_LENGTH 70 /* timeout as per rfc2131 */ --- 336,340 ---- /* Line length for messages before breaking into a new line. */ ! #define MESSAGE_LINE_LENGTH 78 /* timeout as per rfc2131 */ |