aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcpc.h
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-22 13:43:12 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-22 13:43:12 +0100
commit501e35c47441722c69c62bd52841a9a6fd64932c (patch)
treeb44be8066c38222867175586ef5084a4fc662223 /networking/udhcp/dhcpc.h
parent6b24d5354bc166f6962b6b42de4ab9c7e6470225 (diff)
downloadbusybox-w32-501e35c47441722c69c62bd52841a9a6fd64932c.tar.gz
busybox-w32-501e35c47441722c69c62bd52841a9a6fd64932c.tar.bz2
busybox-w32-501e35c47441722c69c62bd52841a9a6fd64932c.zip
udhcp: merge clientpacket.c into dhcpc.c
function old new delta udhcpc_main 2569 2855 +286 perform_release 122 124 +2 client_background 31 32 +1 init_packet 156 88 -68 send_decline 114 - -114 send_discover 121 - -121 send_select 130 - -130 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 3/1 up/down: 289/-433) Total: -144 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpc.h')
-rw-r--r--networking/udhcp/dhcpc.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/networking/udhcp/dhcpc.h b/networking/udhcp/dhcpc.h
index c9827b6e7..a8861562e 100644
--- a/networking/udhcp/dhcpc.h
+++ b/networking/udhcp/dhcpc.h
@@ -1,5 +1,4 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* dhcpc.h */
3#ifndef UDHCP_DHCPC_H 2#ifndef UDHCP_DHCPC_H
4#define UDHCP_DHCPC_H 1 3#define UDHCP_DHCPC_H 1
5 4
@@ -30,20 +29,6 @@ struct client_config_t {
30#define CLIENT_PORT 68 29#define CLIENT_PORT 68
31#endif 30#endif
32 31
33
34/*** clientpacket.h ***/
35
36uint32_t random_xid(void) FAST_FUNC;
37int send_discover(uint32_t xid, uint32_t requested) FAST_FUNC;
38int send_select(uint32_t xid, uint32_t server, uint32_t requested) FAST_FUNC;
39#if ENABLE_FEATURE_UDHCPC_ARPING
40int send_decline(uint32_t xid, uint32_t server, uint32_t requested) FAST_FUNC;
41#endif
42int send_renew(uint32_t xid, uint32_t server, uint32_t ciaddr) FAST_FUNC;
43int send_release(uint32_t server, uint32_t ciaddr) FAST_FUNC;
44
45int udhcp_recv_raw_packet(struct dhcp_packet *dhcp_pkt, int fd) FAST_FUNC;
46
47POP_SAVED_FUNCTION_VISIBILITY 32POP_SAVED_FUNCTION_VISIBILITY
48 33
49#endif 34#endif