summaryrefslogtreecommitdiff
path: root/networking/udhcp/common.h
diff options
context:
space:
mode:
authorDenis Vlasenko2008-10-27 12:56:58 +0000
committerDenis Vlasenko2008-10-27 12:56:58 +0000
commit7ff85c53f17cbd6e3696ece978910f33f74901fe (patch)
tree15c14405bd29f8bcede85087bd481d21dd22b4e9 /networking/udhcp/common.h
parentde5f645dff4848e30a2bf564713088c2425ce9e2 (diff)
downloadbusybox-7ff85c53f17cbd6e3696ece978910f33f74901fe.zip
busybox-7ff85c53f17cbd6e3696ece978910f33f74901fe.tar.gz
udhcp: simplify SO_BINDTODEVICE call
Diffstat (limited to 'networking/udhcp/common.h')
-rw-r--r--networking/udhcp/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/udhcp/common.h b/networking/udhcp/common.h
index 66a0b0d..de4a8c7 100644
--- a/networking/udhcp/common.h
+++ b/networking/udhcp/common.h
@@ -91,8 +91,8 @@ void udhcp_run_script(struct dhcpMessage *packet, const char *name) FAST_FUNC;
void udhcp_sp_setup(void) FAST_FUNC;
int udhcp_sp_fd_set(fd_set *rfds, int extra_fd) FAST_FUNC;
int udhcp_sp_read(const fd_set *rfds) FAST_FUNC;
-int udhcp_raw_socket(int ifindex) FAST_FUNC;
int udhcp_read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp) FAST_FUNC;
+int udhcp_raw_socket(int ifindex) FAST_FUNC;
int udhcp_listen_socket(/*uint32_t ip,*/ int port, const char *inf) FAST_FUNC;
/* Returns 1 if no reply received */
int arpping(uint32_t test_ip, uint32_t from_ip, uint8_t *from_mac, const char *interface) FAST_FUNC;