32 #ifndef WIRE_LISTENER_H 33 #define WIRE_LISTENER_H 38 #include <arpa/inet.h> 40 #include <netinet/in.h> 45 #include <sys/types.h> 46 #include <sys/param.h> 47 #include <sys/select.h> 48 #include <sys/socket.h> 51 #define DNS_PORT_STRING "53" 52 #define INBUF_SIZE 4096 53 #define MAX_INTERFACES 32
void listener_cleanup(listener_type *listener)
void listener_log(listener_type *listener)
listener_type * listener_create(allocator_type *allocator)
interface_type * listener_push(listener_type *list, char *address, int family, char *port)
interface_type * interfaces
void listener_print(FILE *fd, listener_type *listener)
allocator_type * allocator
void interface_cleanup(interface_type *i)