/third_party/python/Lib/logging/ |
H A D | handlers.py | 542 def __init__(self, host, port): 544 Initializes the handler with a specific host address and port. 552 self.port = port 553 if port is None: 556 self.address = (host, port) 572 if self.port is not None: 707 def __init__(self, host, port): 709 Initializes the handler with a specific host address and port. 711 SocketHandler.__init__(self, host, port) [all...] |
/third_party/curl/lib/ |
H A D | url.c | 210 Curl_safefree(up->port); in up_free() 712 (data->port == needle->port) && in proxy_info_matches() 1073 /* don't mix connections that use the "connect to port" feature and in ConnectionExists() 1124 /* If we are bound to a specific local end (IP+port), we must not in ConnectionExists() 1207 /* hostname and port must match */ in ConnectionExists() 1340 infof(data, "Connected to %s (%s) port %u", in Curl_verboseconnect() 1341 CURL_CONN_HOST_DISPNAME(conn), conn->primary_ip, conn->port); in Curl_verboseconnect() 1361 conn->port = -1; /* unknown at this point */ in allocate_conn() 1686 /* 'port' an in findprotocol() 1973 unsigned long port = strtoul(data->state.up.port, NULL, 10); global() local 2183 int port = -1; global() local 2882 int port = -1; global() local 3051 int port = -1; global() local [all...] |
/third_party/lwip/src/api/ |
H A D | sockets.c | 97 #define IP4ADDR_PORT_TO_SOCKADDR(sin, ipaddr, port) do { \ 100 (sin)->sin_port = lwip_htons((port)); \ 103 #define SOCKADDR4_TO_IP4ADDR_PORT(sin, ipaddr, port) do { \ 105 (port) = lwip_ntohs((sin)->sin_port); }while(0) 109 #define IP6ADDR_PORT_TO_SOCKADDR(sin6, ipaddr, port) do { \ 112 (sin6)->sin6_port = lwip_htons((port)); \ 116 #define SOCKADDR6_TO_IP6ADDR_PORT(sin6, ipaddr, port) do { \ 121 (port) = lwip_ntohs((sin6)->sin6_port); }while(0) 125 static void sockaddr_to_ipaddr_port(const struct sockaddr *sockaddr, ip_addr_t *ipaddr, u16_t *port); 134 #define IPADDR_PORT_TO_SOCKADDR(sockaddr, ipaddr, port) d 314 sockaddr_to_ipaddr_port(const struct sockaddr *sockaddr, ip_addr_t *ipaddr, u16_t *port) sockaddr_to_ipaddr_port() argument 634 u16_t port = 0; lwip_accept() local 1053 lwip_sock_make_addr(struct netconn *conn, ip_addr_t *fromaddr, u16_t port, struct sockaddr *from, socklen_t *fromlen) lwip_sock_make_addr() argument 1101 u16_t port; lwip_recv_tcp_from() local [all...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/lwip_sack/include/lwip/ |
H A D | udp.h | 65 * addr and port are in same byte order as in the pcb 76 * @param port the remote port from which the packet was received 79 const ip_addr_t *addr, u16_t port); 132 u16_t port); 134 u16_t port);
|
/foundation/CastEngine/castengine_wifi_display/services/network/server/ |
H A D | tcp_server.cpp | 36 bool TcpServer::Start(uint16_t port, const std::string &host, bool enableReuse, uint32_t backlog) in Start() argument 38 SHARING_LOGD("server ip:%{public}s, Port:%{public}d, thread_id: %{public}llu.", GetAnonyString(host).c_str(), port, in Start() 42 if (socket_->Bind(port, host, enableReuse, backlog)) { in Start()
|
/third_party/ffmpeg/libavformat/ |
H A D | url.h | 294 * @param port the port number, left out from the string if negative 296 * host/port, may be null 301 int port, const char *fmt, ...) av_printf_format(7, 8); 355 const char *port; /**< including initial ':' if present */ member 365 #define url_component_end_host port
|
H A D | rtmpcrypt.c | 252 int ret, port; in rtmpe_open() local 254 av_url_split(NULL, 0, NULL, 0, host, sizeof(host), &port, NULL, 0, uri); in rtmpe_open() 257 if (port < 0) in rtmpe_open() 258 port = 80; in rtmpe_open() 259 ff_url_join(url, sizeof(url), "ffrtmphttp", NULL, host, port, NULL); in rtmpe_open() 261 if (port < 0) in rtmpe_open() 262 port = 1935; in rtmpe_open() 263 ff_url_join(url, sizeof(url), "tcp", NULL, host, port, NULL); in rtmpe_open()
|
/third_party/backends/backend/escl/ |
H A D | escl_devices.c | 49 * const AvahiAddress *address, uint16_t port, 64 uint16_t port, in resolve_callback() 109 escl_device_add(port, name, "localhost", is, uuid, (char*)type); in resolve_callback() 113 escl_device_add(port, name, psz_addr, is, uuid, (char*)type); in resolve_callback() 56 resolve_callback(AvahiServiceResolver *r, AVAHI_GCC_UNUSED AvahiIfIndex interface, AvahiProtocol protocol, AvahiResolverEvent event, const char *name, const char __sane_unused__ *type, const char __sane_unused__ *domain, const char __sane_unused__ *host_name, const AvahiAddress *address, uint16_t port, AvahiStringList *txt, AvahiLookupResultFlags __sane_unused__ flags, void __sane_unused__ *userdata) resolve_callback() argument
|
/third_party/mbedtls/port/src/ |
H A D | tls_client.c | 138 LOGD("connect: host:%s, port: %s", session->host, session->port);
in MbedtlsClientConnect() 140 int ret = mbedtls_net_connect(&session->server_fd, session->host, session->port, MBEDTLS_NET_PROTO_TCP);
in MbedtlsClientConnect() 145 LOGD("Connected %s:%s fd:%d, success...", session->host, session->port, session->server_fd.fd);
in MbedtlsClientConnect()
|
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-captive-portal/ |
H A D | minimal-http-client-captive-portal.c | 193 i.port = 80; in captive_portal_detect_request() 251 i.port = 443; in app_system_state_nf() 295 info.port = CONTEXT_PORT_NO_LISTEN; in main()
|
/third_party/node/test/parallel/ |
H A D | test-http2-compat-socket-set.js | 80 const port = server.address().port; 81 const url = `http://localhost:${port}`; 87 ':authority': `localhost:${port}`
|
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-eventlib-foreign/ |
H A D | minimal-http-server-eventlib-foreign.c | 143 i.port = 443; in do_client_conn() 247 info.port = 7681; in main() 249 info.port = atoi(p); in main()
|
/third_party/lwip/src/include/lwip/ |
H A D | udp.h | 64 * addr and port are in same byte order as in the pcb 75 * @param port the remote port from which the packet was received 78 const ip_addr_t *addr, u16_t port); 127 u16_t port); 130 u16_t port);
|
/third_party/node/deps/undici/src/lib/ |
H A D | proxy-agent.js | 69 const { origin, port, host, username, password } = resolvedUrl 89 if (!opts.port) { 95 port,
|
/foundation/CastEngine/castengine_wifi_display/services/impl/wfd/ |
H A D | wfd_message.cpp | 139 void WfdRtspM3Response::SetClientRtpPorts(int32_t port) in SetClientRtpPorts() argument 142 ss << "RTP/AVP/UDP;unicast" << RTSP_SP << port << RTSP_SP << 0 << RTSP_SP << "mode=play"; in SetClientRtpPorts() 347 void WfdRtspM4Request::SetClientRtpPorts(int32_t port) in SetClientRtpPorts() argument 350 ss << WFD_PARAM_RTP_PORTS << ":" << RTSP_SP << "RTP/AVP/UDP;unicast" << RTSP_SP << port << RTSP_SP << 0 << RTSP_SP in SetClientRtpPorts() 540 void WfdRtspM6Response::SetClientPort(int port) in SetClientPort() argument 542 clientPort_ = port; in SetClientPort() 545 void WfdRtspM6Response::SetServerPort(int port) in SetServerPort() argument 547 serverPort_ = port; in SetServerPort()
|
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_server_tcp_direct_test.cpp | 327 .port = TEST_SOCKET_PORT, in HWTEST_F() 359 .port = TEST_SOCKET_PORT, in HWTEST_F() 384 info->socketOption.port = TEST_SOCKET_PORT; in HWTEST_F() 391 info->socketOption.port = TEST_SOCKET_INVALID_PORT; in HWTEST_F() 396 info->socketOption.port = TEST_SOCKET_INVALID_PORT; in HWTEST_F() 430 connInfo.socketOption.port = TEST_SOCKET_PORT; in HWTEST_F() 604 connInfo->socketOption.port = TEST_SOCKET_PORT; in HWTEST_F() 629 connInfo.socketOption.port = TEST_SOCKET_PORT; in HWTEST_F()
|
/third_party/nghttp2/examples/ |
H A D | libevent-client.c | 114 extra, ":%u", u->port); in create_http2_stream_data() 545 /* Start connecting to the remote peer |host:port| */ 547 const char *host, uint16_t port, in initiate_connection() 560 AF_UNSPEC, host, port); in initiate_connection() 573 uint16_t port; in run() local 586 port = 443; in run() 588 port = u.port; in run() 598 initiate_connection(evbase, ssl_ctx, host, port, session_data); in run() 546 initiate_connection(struct event_base *evbase, SSL_CTX *ssl_ctx, const char *host, uint16_t port, http2_session_data *session_data) initiate_connection() argument
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | s_server.c | 452 char *host, *path, *port; member 472 char *host = NULL, *port = NULL, *path = NULL; in get_ocsp_resp_from_responder() local 490 NULL, &host, &port, NULL, &path, NULL, NULL)) { in get_ocsp_resp_from_responder() 505 port = srctx->port; in get_ocsp_resp_from_responder() 541 *resp = process_responder(req, host, port, path, proxy, no_proxy, in get_ocsp_resp_from_responder() 561 OPENSSL_free(port); in get_ocsp_resp_from_responder() 741 {"port", OPT_PORT, 'p', 742 "TCP/IP port to listen on for connections (default is " PORT ")"}, 744 "TCP/IP optional host and port t 1010 char *port = NULL; s_server_main() local [all...] |
H A D | ocsp.c | 79 const char *port, int timeout); 162 {"host", OPT_HOST, 's', "TCP/IP hostname:port to connect to"}, 163 {"port", OPT_PORT, 'N', "Port to run responder on"}, 167 "[http[s]://]host[:port][/path] of HTTP(S) proxy to use; path is ignored"}, 238 char *host = NULL, *port = NULL, *path = "/", *outfile = NULL; in ocsp_main() local 290 &host, &port, NULL /* port_num */, in ocsp_main() 296 tport = port; in ocsp_main() 303 port = opt_arg(); in ocsp_main() 555 && respin == NULL && !(port != NULL && ridx_filename != NULL)) in ocsp_main() 577 if (req == NULL && port ! in ocsp_main() 1199 do_responder(OCSP_REQUEST **preq, BIO **pcbio, BIO *acbio, const char *port, int timeout) do_responder() argument 1231 process_responder(OCSP_REQUEST *req, const char *host, const char *port, const char *path, const char *proxy, const char *no_proxy, int use_ssl, STACK_OF(CONF_VALUE) *headers, int req_timeout) process_responder() argument [all...] |
/third_party/openssl/apps/ |
H A D | s_server.c | 452 char *host, *path, *port; member 472 char *host = NULL, *port = NULL, *path = NULL; in get_ocsp_resp_from_responder() local 490 NULL, &host, &port, NULL, &path, NULL, NULL)) { in get_ocsp_resp_from_responder() 505 port = srctx->port; in get_ocsp_resp_from_responder() 541 *resp = process_responder(req, host, port, path, proxy, no_proxy, in get_ocsp_resp_from_responder() 561 OPENSSL_free(port); in get_ocsp_resp_from_responder() 741 {"port", OPT_PORT, 'p', 742 "TCP/IP port to listen on for connections (default is " PORT ")"}, 744 "TCP/IP optional host and port t 1010 char *port = NULL; s_server_main() local [all...] |
H A D | ocsp.c | 79 const char *port, int timeout); 162 {"host", OPT_HOST, 's', "TCP/IP hostname:port to connect to"}, 163 {"port", OPT_PORT, 'N', "Port to run responder on"}, 167 "[http[s]://]host[:port][/path] of HTTP(S) proxy to use; path is ignored"}, 238 char *host = NULL, *port = NULL, *path = "/", *outfile = NULL; in ocsp_main() local 290 &host, &port, NULL /* port_num */, in ocsp_main() 296 tport = port; in ocsp_main() 303 port = opt_arg(); in ocsp_main() 555 && respin == NULL && !(port != NULL && ridx_filename != NULL)) in ocsp_main() 577 if (req == NULL && port ! in ocsp_main() 1199 do_responder(OCSP_REQUEST **preq, BIO **pcbio, BIO *acbio, const char *port, int timeout) do_responder() argument 1231 process_responder(OCSP_REQUEST *req, const char *host, const char *port, const char *path, const char *proxy, const char *no_proxy, int use_ssl, STACK_OF(CONF_VALUE) *headers, int req_timeout) process_responder() argument [all...] |
/foundation/communication/netstack/frameworks/js/napi/websocket/websocket_exec/src/ |
H A D | websocket_exec.cpp | 255 size_t addressLen, char *path, size_t pathLen, int *port) in ParseUrl() 265 (void)lws_parse_uri(uri, &tempProt, &tempAddress, port, &tempPath); in ParseUrl() 611 info.port = CONTEXT_PORT_NO_LISTEN; in FillContextInfo() 622 uint32_t port = 0; in FillContextInfo() local 633 GetWebsocketProxyInfo(context, host, port, exclusions); in FillContextInfo() 639 info.http_proxy_port = port; in FillContextInfo() 651 int port = 0; in CreatConnectInfo() local 653 if (!ParseUrl(context, protocol, MAX_URI_LENGTH, address, MAX_URI_LENGTH, path, MAX_URI_LENGTH, &port)) { in CreatConnectInfo() 662 std::string tempHost = std::string(address) + NAME_END + std::to_string(port); in CreatConnectInfo() 670 connectInfo.port in CreatConnectInfo() 254 ParseUrl(ConnectContext *context, char *protocol, size_t protocolLen, char *address, size_t addressLen, char *path, size_t pathLen, int *port) ParseUrl() argument 1090 GetWebsocketProxyInfo(ConnectContext *context, std::string &host, uint32_t &port, std::string &exclusions) GetWebsocketProxyInfo() argument [all...] |
/test/xts/acts/telephony/telephonyjstest/netmanager_base/dns/entry/src/ohosTest/js/test/ |
H A D | NetworkManagerMdns.test.js | 51 port: 5555, 55 port: 5555, 68 expect(value.port).assertEqual(localServiceInfo.port); 71 expect(value.host.port).assertEqual(localServiceInfo.host.port); 617 expect(data.port).assertEqual(localServiceInfo.port); 620 expect(data.host.port).assertEqual(localServiceInfo.host.port); [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
H A D | driver_macsec_linux.c | 471 * macsec_drv_enable_controlled_port - Set controlled port status 473 * @enabled: TRUE = controlled port enabled 474 * FALSE = controlled port disabled 802 #define SCI2STR(addr, port) MAC2STR(addr), htons(port) 809 * @sci_port: secure channel identifier - port 826 drv->ifname, SCI2STR(sc->sci.addr, sc->sci.port), in macsec_drv_create_receive_sc() 863 drv->ifname, SCI2STR(sc->sci.addr, sc->sci.port)); in macsec_drv_delete_receive_sc() 903 SCI2STR(sa->sc->sci.addr, sa->sc->sci.port), in macsec_drv_create_receive_sa() 960 SCI2STR(sa->sc->sci.addr, sa->sc->sci.port)); in macsec_drv_delete_receive_sa() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
H A D | driver_macsec_linux.c | 469 * macsec_drv_enable_controlled_port - Set controlled port status 471 * @enabled: true = controlled port enabled 472 * false = controlled port disabled 803 #define SCI2STR(addr, port) MAC2STR_SEC(addr), htons(port) 810 * @sci_port: secure channel identifier - port 827 drv->ifname, SCI2STR(sc->sci.addr, sc->sci.port), in macsec_drv_create_receive_sc() 864 drv->ifname, SCI2STR(sc->sci.addr, sc->sci.port)); in macsec_drv_delete_receive_sc() 904 SCI2STR(sa->sc->sci.addr, sa->sc->sci.port), in macsec_drv_create_receive_sa() 961 SCI2STR(sa->sc->sci.addr, sa->sc->sci.port)); in macsec_drv_delete_receive_sa() [all...] |