00001 /* socket.h */ 00002 #ifndef _SOCKET_H 00003 #define _SOCKET_H 00004 00005 int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp); 00006 int listen_socket(unsigned int ip, int port, char *inf); 00007 int raw_socket(int ifindex); 00008 00009 #endif