diff options
Diffstat (limited to 'networking/udhcp/socket.h')
-rw-r--r-- | networking/udhcp/socket.h | 8 |
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 |