42 #ifndef LISTEN_DNSPORT_H 43 #define LISTEN_DNSPORT_H 148 struct listen_port* ports,
size_t bufsize,
int tcp_accept_count,
207 socklen_t addrlen,
int v6only,
int* inuse,
int* noproto,
int rcv,
208 int snd,
int listen,
int* reuseport,
int transparent,
int freebind,
int use_systemd);
224 int* reuseport,
int transparent,
int mss,
int freebind,
int use_systemd);
void listen_list_delete(struct listen_list *list)
void listen_start_accept(struct listen_dnsport *listen)
int create_local_accept_sock(const char *path, int *noproto, int use_systemd)
int comm_point_callback_type(struct comm_point *, void *, int, struct comm_reply *)
struct listen_list * next
int create_udp_sock(int family, int socktype, struct sockaddr *addr, socklen_t addrlen, int v6only, int *inuse, int *noproto, int rcv, int snd, int listen, int *reuseport, int transparent, int freebind, int use_systemd)
void listen_delete(struct listen_dnsport *listen)
void listen_stop_accept(struct listen_dnsport *listen)
int create_tcp_accept_sock(struct addrinfo *addr, int v6only, int *noproto, int *reuseport, int transparent, int mss, int freebind, int use_systemd)
struct listen_dnsport * listen_create(struct comm_base *base, struct listen_port *ports, size_t bufsize, int tcp_accept_count, void *sslctx, struct dt_env *dtenv, comm_point_callback_type *cb, void *cb_arg)
struct listen_port * next
void listening_ports_free(struct listen_port *list)
size_t listen_get_mem(struct listen_dnsport *listen)
struct listen_port * listening_ports_open(struct config_file *cfg, int *reuseport)
struct sldns_buffer * udp_buff