Searched refs:faddr_ (Results 1 – 6 of 6) sorted by relevance
/third_party/nghttp2/src/ |
D | shrpx_accept_handler.cc | 50 : conn_hnr_(h), faddr_(faddr) { in AcceptHandler() 51 ev_io_init(&wev_, acceptcb, faddr_->fd, EV_READ); in AcceptHandler() 58 close(faddr_->fd); in ~AcceptHandler() 67 accept4(faddr_->fd, &sockaddr.sa, &addrlen, SOCK_NONBLOCK | SOCK_CLOEXEC); in accept_connection() 69 auto cfd = accept(faddr_->fd, &sockaddr.sa, &addrlen); in accept_connection() 102 conn_hnr_->handle_connection(cfd, &sockaddr.sa, addrlen, faddr_); in accept_connection() 109 int AcceptHandler::get_fd() const { return faddr_->fd; } in get_fd()
|
D | shrpx_quic_listener.cc | 40 : faddr_{faddr}, worker_{worker} { in QUICListener() 41 ev_io_init(&rev_, readcb, faddr_->fd, EV_READ); 48 close(faddr_->fd); in ~QUICListener() 73 auto nread = recvmsg(faddr_->fd, &msg, 0); in on_read() 86 util::set_port(local_addr, faddr_->port); in on_read() 120 quic_conn_handler->handle_packet(faddr_, remote_addr, local_addr, pi, in on_read()
|
D | shrpx_quic_listener.h | 44 const UpstreamAddr *faddr_;
|
D | shrpx_accept_handler.h | 49 const UpstreamAddr *faddr_; variable
|
D | shrpx_client_handler.cc | 455 faddr_(faddr), in ClientHandler() 476 if (faddr_->accept_proxy_protocol || in ClientHandler() 857 switch (faddr_->alt_mode) { in get_downstream_addr() 1035 switch (faddr_->alt_mode) { in get_downstream_connection() 1060 if (faddr_->sni_fwd) { in get_downstream_connection() 1241 faddr_->port, in write_accesslog() 1684 return faddr_->hostport; in get_forwarded_by() 1689 const UpstreamAddr *ClientHandler::get_upstream_addr() const { return faddr_; } in get_upstream_addr()
|
D | shrpx_client_handler.h | 223 const UpstreamAddr *faddr_; variable
|