Lines Matching defs:port

120   // host and port in |hostport| is separated by single ','.
123 LOG(ERROR) << opt << ": Invalid host, port: " << hostport;
433 // Requires at least protocol_id and port
438 int port;
440 if (parse_uint(&port, opt, tokens[1]) != 0) {
444 if (port < 1 ||
445 port > static_cast<int>(std::numeric_limits<uint16_t>::max())) {
446 LOG(ERROR) << opt << ": port is invalid: " << tokens[1];
452 altsvc.port = port;
2823 uint16_t port;
2837 if (split_host_port(host, sizeof(host), &port,
2843 addr.port = port;
2925 if (split_host_port(host, sizeof(host), &port,
2931 addr.port = port;
2998 << ": deprecated. Use backend=<addr>,<port>;;proto=h2;tls";
3003 << ": deprecated. Use http2-proxy, frontend=<addr>,<port>;no-tls "
3004 "and backend=<addr>,<port>;;proto=h2;tls";
3257 << ": deprecated. Use frontend=<addr>,<port>;no-tls, "
3258 "backend=<addr>,<port>;;proto=h2;tls";
3287 // parse URI and get hostname, port and optionally userinfo.
3307 proxy.port = u.port;
3309 LOG(ERROR) << opt << ": no port specified";
3592 if (split_host_port(host, sizeof(host), &port,
3601 memcachedconf.port = port;
3608 memcachedconf.port = port;
4430 addr.port = DEFAULT_DOWNSTREAM_PORT;
4467 << (addr.host_unix ? "" : ":" + util::utos(addr.port))
4556 util::make_http_hostport(downstreamconf.balloc, addr.host, addr.port);
4559 util::make_hostport(std::begin(hostport_buf), addr.host, addr.port);
4562 if (resolve_hostname(&addr.addr, addr.host.c_str(), addr.port,
4635 int resolve_hostname(Address *addr, const char *hostname, uint16_t port,
4639 auto service = util::utos(port);