Home
last modified time | relevance | path

Searched refs:faddr (Results 1 – 17 of 17) sorted by relevance

/third_party/nghttp2/src/
Dshrpx.cc613 int create_unix_domain_server_socket(UpstreamAddr &faddr, in create_unix_domain_server_socket() argument
617 std::begin(iaddrs), std::end(iaddrs), [&faddr](const InheritedAddr &ia) { in create_unix_domain_server_socket()
618 return !ia.used && ia.host_unix && ia.host == faddr.host; in create_unix_domain_server_socket()
622 LOG(NOTICE) << "Listening on UNIX domain socket " << faddr.host in create_unix_domain_server_socket()
623 << (faddr.tls ? ", tls" : ""); in create_unix_domain_server_socket()
625 faddr.fd = (*found).fd; in create_unix_domain_server_socket()
626 faddr.hostport = StringRef::from_lit("localhost"); in create_unix_domain_server_socket()
661 if (faddr.host.size() + 1 > sizeof(addr.un.sun_path)) { in create_unix_domain_server_socket()
662 LOG(FATAL) << "UNIX domain socket path " << faddr.host << " is too long > " in create_unix_domain_server_socket()
668 std::copy_n(faddr.host.c_str(), faddr.host.size() + 1, addr.un.sun_path); in create_unix_domain_server_socket()
[all …]
Dshrpx_accept_handler.cc49 AcceptHandler::AcceptHandler(const UpstreamAddr *faddr, ConnectionHandler *h) in AcceptHandler() argument
50 : conn_hnr_(h), faddr_(faddr) { in AcceptHandler()
Dshrpx_mruby_module_env.cc103 auto faddr = handler->get_upstream_addr(); in env_get_server_port() local
105 return mrb_fixnum_value(faddr->port); in env_get_server_port()
115 auto faddr = handler->get_upstream_addr(); in env_get_server_addr() local
117 return mrb_str_new(mrb, faddr->host.c_str(), faddr->host.size()); in env_get_server_addr()
Dshrpx_accept_handler.h39 AcceptHandler(const UpstreamAddr *faddr, ConnectionHandler *h);
Dshrpx_connection_handler.cc372 const UpstreamAddr *faddr) { in handle_connection() argument
395 tls::accept_connection(single_worker_.get(), fd, addr, addrlen, faddr); in handle_connection()
408 if (faddr->alt_mode == UpstreamAltMode::API) { in handle_connection()
437 wev.faddr = faddr; in handle_connection()
Dshrpx_http2_upstream.cc362 auto faddr = handler_->get_upstream_addr(); in on_request_headers() local
366 faddr->alt_mode == UpstreamAltMode::NONE && !authority) { in on_request_headers()
391 faddr->alt_mode == UpstreamAltMode::NONE) { in on_request_headers()
1027 auto faddr = handler_->get_upstream_addr(); in Http2Upstream() local
1031 faddr->alt_mode != UpstreamAltMode::NONE in Http2Upstream()
1047 if (faddr->alt_mode != UpstreamAltMode::NONE) { in Http2Upstream()
1074 faddr->alt_mode != UpstreamAltMode::NONE in Http2Upstream()
1189 auto faddr = handler_->get_upstream_addr(); in on_write() local
1190 if (faddr->alt_mode == UpstreamAltMode::NONE) { in on_write()
1991 auto faddr = handler_->get_upstream_addr(); in consume() local
[all …]
Dshrpx_client_handler.h60 const StringRef &port, int family, const UpstreamAddr *faddr);
Dshrpx_connection_handler.h107 const UpstreamAddr *faddr);
Dshrpx_tls.h104 int addrlen, const UpstreamAddr *faddr);
Dshrpx_worker.h260 const UpstreamAddr *faddr; member
Dshrpx_tls.cc1216 int addrlen, const UpstreamAddr *faddr) { in accept_connection() argument
1239 if (faddr->tls) { in accept_connection()
1256 StringRef{service.data()}, addr->sa_family, faddr); in accept_connection()
1752 [](const UpstreamAddr &faddr) { return faddr.tls; }); in upstream_tls_enabled() argument
Dshrpx_https_upstream.cc399 auto faddr = handler->get_upstream_addr(); in htp_hdrs_completecb() local
451 faddr->alt_mode == UpstreamAltMode::NONE) { in htp_hdrs_completecb()
503 if (faddr->alt_mode != UpstreamAltMode::NONE) { in htp_hdrs_completecb()
Dshrpx_downstream.cc624 auto faddr = handler->get_upstream_addr(); in request_buf_full() local
628 if (faddr->alt_mode == UpstreamAltMode::API) { in request_buf_full()
Dshrpx_client_handler.cc388 int family, const UpstreamAddr *faddr) in ClientHandler() argument
407 faddr_(faddr), in ClientHandler()
Dshrpx_worker.cc454 wev.client_addrlen, wev.faddr); in process_events()
/third_party/gstreamer/gstplugins_bad/ext/sctp/usrsctp/usrsctplib/
Duser_inpcb.h271 #define INP_PCBHASH(faddr, lport, fport, mask) \ argument
272 (((faddr) ^ ((faddr) >> 16) ^ ntohs((lport) ^ (fport))) & (mask))
/third_party/toybox/toys/pending/
Dmke2fs.c197 uint32_t faddr; // Last block in file member