summaryrefslogtreecommitdiff
path: root/networking/udhcp/socket.h
diff options
context:
space:
mode:
authorRuss Dill2002-10-14 21:41:28 +0000
committerRuss Dill2002-10-14 21:41:28 +0000
commit61fb48930f45aa536584b2047f9e703186e8f69f (patch)
treee3b93e0a694be81939f8c4762553c43ffdb9b10b /networking/udhcp/socket.h
parent9060a7315980bb05f42eab76b88746d43e138188 (diff)
downloadbusybox-61fb48930f45aa536584b2047f9e703186e8f69f.zip
busybox-61fb48930f45aa536584b2047f9e703186e8f69f.tar.gz
added full udhcp integration
Diffstat (limited to 'networking/udhcp/socket.h')
-rw-r--r--networking/udhcp/socket.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/networking/udhcp/socket.h b/networking/udhcp/socket.h
new file mode 100644
index 0000000..333994b
--- /dev/null
+++ b/networking/udhcp/socket.h
@@ -0,0 +1,9 @@
+/* socket.h */
+#ifndef _SOCKET_H
+#define _SOCKET_H
+
+int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp);
+int listen_socket(unsigned int ip, int port, char *inf);
+int raw_socket(int ifindex);
+
+#endif