diff options
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r-- | networking/udhcp/common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h index 006d580d3..588750462 100644 --- a/networking/udhcp/common.h +++ b/networking/udhcp/common.h | |||
@@ -80,14 +80,14 @@ void udhcp_run_script(struct dhcpMessage *packet, const char *name); | |||
80 | /* from dhcpd.h */ | 80 | /* from dhcpd.h */ |
81 | #define server_config udhcp_server_config | 81 | #define server_config udhcp_server_config |
82 | 82 | ||
83 | long uptime(void); | ||
84 | void udhcp_sp_setup(void); | 83 | void udhcp_sp_setup(void); |
85 | int udhcp_sp_fd_set(fd_set *rfds, int extra_fd); | 84 | int udhcp_sp_fd_set(fd_set *rfds, int extra_fd); |
86 | int udhcp_sp_read(fd_set *rfds); | 85 | int udhcp_sp_read(fd_set *rfds); |
87 | int raw_socket(int ifindex); | 86 | int raw_socket(int ifindex); |
88 | int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp); | 87 | int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp); |
89 | int listen_socket(uint32_t ip, int port, const char *inf); | 88 | int listen_socket(uint32_t ip, int port, const char *inf); |
90 | int arpping(uint32_t yiaddr, uint32_t ip, uint8_t *arp, char *interface); | 89 | /* Returns 1 if no reply received */ |
90 | int arpping(uint32_t test_ip, uint32_t from_ip, uint8_t *from_mac, const char *interface); | ||
91 | 91 | ||
92 | #if ENABLE_FEATURE_UDHCP_DEBUG | 92 | #if ENABLE_FEATURE_UDHCP_DEBUG |
93 | # define DEBUG(str, args...) bb_info_msg(str, ## args) | 93 | # define DEBUG(str, args...) bb_info_msg(str, ## args) |