diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-21 07:05:06 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-05-21 07:05:06 +0000 |
commit | 6de8994440165e2f30c50d2d7c1f332d9cd649bd (patch) | |
tree | d1e2794c09b2b73e93e64c84444cb52806498494 /networking/udhcp/common.h | |
parent | 19903f0d447116baef455eddc14458b1dfd1c834 (diff) | |
download | busybox-w32-6de8994440165e2f30c50d2d7c1f332d9cd649bd.tar.gz busybox-w32-6de8994440165e2f30c50d2d7c1f332d9cd649bd.tar.bz2 busybox-w32-6de8994440165e2f30c50d2d7c1f332d9cd649bd.zip |
udhcpc: regularize the names of receiving functions,
pause on "serious failure to receive".
Some misc fixes are also folded in here.
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index 1131baee2..bf0ecc7b1 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -61,7 +61,9 @@ uint16_t udhcp_checksum(void *addr, int count); | |||
61 | 61 | ||
62 | void udhcp_init_header(struct dhcpMessage *packet, char type); | 62 | void udhcp_init_header(struct dhcpMessage *packet, char type); |
63 | 63 | ||
64 | int udhcp_recv_packet(struct dhcpMessage *packet, int fd); | 64 | /*int udhcp_recv_raw_packet(struct dhcpMessage *payload, int fd); - in dhcpc.h */ |
65 | int udhcp_recv_kernel_packet(struct dhcpMessage *packet, int fd); | ||
66 | |||
65 | int udhcp_send_raw_packet(struct dhcpMessage *payload, | 67 | int udhcp_send_raw_packet(struct dhcpMessage *payload, |
66 | uint32_t source_ip, int source_port, | 68 | uint32_t source_ip, int source_port, |
67 | uint32_t dest_ip, int dest_port, | 69 | uint32_t dest_ip, int dest_port, |