summaryrefslogtreecommitdiff
path: root/networking/udhcp/socket.h
diff options
context:
space:
mode:
authorMike Frysinger2006-05-08 03:20:50 +0000
committerMike Frysinger2006-05-08 03:20:50 +0000
commit7031f62d9b750568b5e98bdb8c59c3c1a72e073d (patch)
treeb8d037a539281e7f7592e3045fa59e445495f603 /networking/udhcp/socket.h
parent15fe2e11d7886d04450cabc8b40f0d396b6b6d85 (diff)
downloadbusybox-7031f62d9b750568b5e98bdb8c59c3c1a72e073d.zip
busybox-7031f62d9b750568b5e98bdb8c59c3c1a72e073d.tar.gz
add back in udhcp support
Diffstat (limited to 'networking/udhcp/socket.h')
-rw-r--r--networking/udhcp/socket.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/networking/udhcp/socket.h b/networking/udhcp/socket.h
new file mode 100644
index 0000000..66179d4
--- /dev/null
+++ b/networking/udhcp/socket.h
@@ -0,0 +1,8 @@
+/* socket.h */
+#ifndef _SOCKET_H
+#define _SOCKET_H
+
+int read_interface(char *interface, int *ifindex, uint32_t *addr, uint8_t *arp);
+int listen_socket(uint32_t ip, int port, char *inf);
+
+#endif