Home
last modified time | relevance | path

Searched refs:faddr_ (Results 1 – 6 of 6) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_accept_handler.cc50 : 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()
Dshrpx_quic_listener.cc40 : 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()
Dshrpx_quic_listener.h44 const UpstreamAddr *faddr_;
Dshrpx_accept_handler.h49 const UpstreamAddr *faddr_; variable
Dshrpx_client_handler.cc455 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()
Dshrpx_client_handler.h223 const UpstreamAddr *faddr_; variable