mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
10 lines
234 B
C
10 lines
234 B
C
|
/* 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
|