71 struct internal_event;
73 struct internal_timer;
80 #define NETEVENT_NOERROR 0 82 #define NETEVENT_CLOSED -1 84 #define NETEVENT_TIMEOUT -2 86 #define NETEVENT_CAPSFAIL -3 88 #define NETEVENT_DONE -4 91 #define NETEVENT_SLOW_ACCEPT_TIME 2000 98 struct internal_base*
eb;
123 uint8_t client_nonce[crypto_box_HALF_NONCEBYTES];
124 uint8_t nmkey[crypto_box_BEFORENMBYTES];
125 const dnsccert *dnsc_cert;
131 struct in6_pktinfo v6info;
134 struct in_pktinfo v4info;
135 #elif defined(IP_RECVDSTADDR) 136 struct in_addr v4addr;
156 struct internal_event*
ev;
262 #ifdef USE_MSG_FASTOPEN 455 int fd,
int num,
size_t bufsize,
493 int fd,
size_t bufsize,
543 struct sockaddr* addr, socklen_t addrlen);
585 void (*cb)(
void*),
void*
cb_arg);
766 void comm_point_tcp_win_bio_cb(
struct comm_point* c,
void* ssl);
struct comm_base * comm_base_create(int sigs)
void comm_point_send_reply(struct comm_reply *repinfo)
struct internal_base * eb
size_t comm_point_get_mem(struct comm_point *c)
struct comm_signal * comm_signal_create(struct comm_base *base, void(*callback)(int, void *), void *cb_arg)
void(* stop_accept)(void *)
struct sldns_buffer * buffer
struct comm_base * comm_base_create_event(struct ub_event_base *base)
void comm_point_udp_ancil_callback(int fd, short event, void *arg)
union comm_reply::@43 pktinfo
void comm_base_handle_slow_accept(int fd, short event, void *arg)
void comm_signal_callback(int fd, short event, void *arg)
comm_point_callback_type * callback
void comm_point_start_listening(struct comm_point *c, int newfd, int msec)
void comm_point_udp_callback(int fd, short event, void *arg)
struct comm_point * comm_point_create_udp(struct comm_base *base, int fd, struct sldns_buffer *buffer, comm_point_callback_type *callback, void *callback_arg)
int comm_point_callback_type(struct comm_point *, void *, int, struct comm_reply *)
void comm_base_delete(struct comm_base *b)
void comm_point_close(struct comm_point *c)
struct comm_point * comm_point_create_raw(struct comm_base *base, int fd, int writing, comm_point_callback_type *callback, void *callback_arg)
struct comm_point * tcp_free
struct comm_point * comm_point_create_tcp_out(struct comm_base *base, size_t bufsize, comm_point_callback_type *callback, void *callback_arg)
struct comm_point * tcp_parent
void comm_point_tcp_handle_callback(int fd, short event, void *arg)
int comm_point_perform_accept(struct comm_point *c, struct sockaddr_storage *addr, socklen_t *addrlen)
void comm_timer_callback(int fd, short event, void *arg)
int comm_signal_bind(struct comm_signal *comsig, int sig)
void(* start_accept)(void *)
void comm_point_http_handle_callback(int fd, short event, void *arg)
void(* callback)(int, void *)
int tcp_connect_errno_needs_log(struct sockaddr *addr, socklen_t addrlen)
void comm_base_set_slow_accept_handlers(struct comm_base *b, void(*stop_accept)(void *), void(*start_accept)(void *), void *arg)
size_t comm_timer_get_mem(struct comm_timer *timer)
void comm_base_exit(struct comm_base *b)
struct sldns_buffer * http_temp
void comm_point_delete(struct comm_point *c)
struct internal_signal * ev_signal
void comm_timer_disable(struct comm_timer *timer)
void comm_point_listen_for_rw(struct comm_point *c, int rd, int wr)
void comm_point_tcp_accept_callback(int fd, short event, void *arg)
struct comm_point * comm_point_create_http_out(struct comm_base *base, size_t bufsize, comm_point_callback_type *callback, void *callback_arg, struct sldns_buffer *temp)
struct internal_timer * ev_timer
void comm_base_delete_no_base(struct comm_base *b)
enum comm_point::comm_point_type type
struct comm_point ** tcp_handlers
struct sockaddr_storage addr
int comm_timer_is_set(struct comm_timer *timer)
int http_in_chunk_headers
struct comm_point * comm_point_create_local(struct comm_base *base, int fd, size_t bufsize, comm_point_callback_type *callback, void *callback_arg)
struct comm_reply repinfo
void comm_base_timept(struct comm_base *b, time_t **tt, struct timeval **tv)
void comm_point_drop_reply(struct comm_reply *repinfo)
void comm_signal_delete(struct comm_signal *comsig)
struct comm_point * comm_point_create_udp_ancil(struct comm_base *base, int fd, struct sldns_buffer *buffer, comm_point_callback_type *callback, void *callback_arg)
enum comm_point::@44 ssl_shake_state
struct internal_event * ev
struct comm_point * comm_point_create_tcp(struct comm_base *base, int fd, int num, size_t bufsize, comm_point_callback_type *callback, void *callback_arg)
void comm_point_local_handle_callback(int fd, short event, void *arg)
struct comm_timer * comm_timer_create(struct comm_base *base, void(*cb)(void *), void *cb_arg)
void comm_timer_delete(struct comm_timer *timer)
int comm_point_send_udp_msg(struct comm_point *c, struct sldns_buffer *packet, struct sockaddr *addr, socklen_t addrlen)
void comm_point_stop_listening(struct comm_point *c)
void comm_point_raw_handle_callback(int fd, short event, void *arg)
void comm_base_dispatch(struct comm_base *b)
void comm_timer_set(struct comm_timer *timer, struct timeval *tv)
struct ub_event_base * comm_base_internal(struct comm_base *b)