Lines Matching refs:hostport
305 dst_addr.hostport = in replace_downstream_config()
306 make_string_ref(shared_addr->balloc, src_addr.hostport); in replace_downstream_config()
718 if (addr.hostport == a.hostport) { in setup_quic_server_socket()
721 << addr.hostport; in setup_quic_server_socket()
1055 faddr.hostport = util::make_http_hostport(mod_config()->balloc, in create_quic_server_socket()
1058 LOG(NOTICE) << "Listening on " << faddr.hostport << ", quic"; in create_quic_server_socket()
1094 auto hostport = util::make_http_hostport(std::begin(hostport_buf), in find_quic_upstream_addr() local
1099 if (faddr.hostport == hostport) { in find_quic_upstream_addr()
1110 if (util::streq(faddr.hostport, StringRef::from_lit("0.0.0.0"))) { in find_quic_upstream_addr()
1116 if (util::streq(faddr.hostport, StringRef::from_lit("[::]"))) { in find_quic_upstream_addr()
1127 if (util::starts_with(faddr.hostport, in find_quic_upstream_addr()
1134 if (util::starts_with(faddr.hostport, StringRef::from_lit("[::]:"))) { in find_quic_upstream_addr()
1230 const RouterConfig &routerconf, const StringRef &hostport, in match_downstream_addr_group() argument
1234 if (std::find(std::begin(hostport), std::end(hostport), '/') != in match_downstream_addr_group()
1235 std::end(hostport)) { in match_downstream_addr_group()
1249 if (hostport.empty()) { in match_downstream_addr_group()
1250 return match_downstream_addr_group_host(routerconf, hostport, path, groups, in match_downstream_addr_group()
1255 if (hostport[0] == '[') { in match_downstream_addr_group()
1257 auto p = std::find(std::begin(hostport), std::end(hostport), ']'); in match_downstream_addr_group()
1258 if (p == std::end(hostport)) { in match_downstream_addr_group()
1261 if (p + 1 < std::end(hostport) && *(p + 1) != ':') { in match_downstream_addr_group()
1264 host = StringRef{std::begin(hostport), p + 1}; in match_downstream_addr_group()
1266 auto p = std::find(std::begin(hostport), std::end(hostport), ':'); in match_downstream_addr_group()
1267 if (p == std::begin(hostport)) { in match_downstream_addr_group()
1270 host = StringRef{std::begin(hostport), p}; in match_downstream_addr_group()