added full udhcp integration
This commit is contained in:
9
networking/udhcp/socket.h
Normal file
9
networking/udhcp/socket.h
Normal file
@ -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
|
Reference in New Issue
Block a user