From 501e35c47441722c69c62bd52841a9a6fd64932c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 22 Mar 2010 13:43:12 +0100 Subject: 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 --- networking/udhcp/dhcpc.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'networking/udhcp/dhcpc.h') 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 @@ /* vi: set sw=4 ts=4: */ -/* dhcpc.h */ #ifndef UDHCP_DHCPC_H #define UDHCP_DHCPC_H 1 @@ -30,20 +29,6 @@ struct client_config_t { #define CLIENT_PORT 68 #endif - -/*** clientpacket.h ***/ - -uint32_t random_xid(void) FAST_FUNC; -int send_discover(uint32_t xid, uint32_t requested) FAST_FUNC; -int send_select(uint32_t xid, uint32_t server, uint32_t requested) FAST_FUNC; -#if ENABLE_FEATURE_UDHCPC_ARPING -int send_decline(uint32_t xid, uint32_t server, uint32_t requested) FAST_FUNC; -#endif -int send_renew(uint32_t xid, uint32_t server, uint32_t ciaddr) FAST_FUNC; -int send_release(uint32_t server, uint32_t ciaddr) FAST_FUNC; - -int udhcp_recv_raw_packet(struct dhcp_packet *dhcp_pkt, int fd) FAST_FUNC; - POP_SAVED_FUNCTION_VISIBILITY #endif -- cgit v1.2.3