Home
last modified time | relevance | path

Searched refs:tcp_port (Results 1 – 11 of 11) sorted by relevance

/external/openssh/
Dentropy.c78 unsigned short tcp_port, char *socket_path) in get_random_bytes_prngd() argument
88 if (socket_path == NULL && tcp_port == 0) in get_random_bytes_prngd()
98 if (tcp_port != 0) { in get_random_bytes_prngd()
101 addr_in->sin_port = htons(tcp_port); in get_random_bytes_prngd()
123 if (tcp_port != 0) { in get_random_bytes_prngd()
125 tcp_port, strerror(errno)); in get_random_bytes_prngd()
/external/honggfuzz/libhfnetdriver/
Dnetdriver.c38 uint16_t tcp_port; member
43 .tcp_port = 0,
293 hfnd_globals.tcp_port = netDriver_getTCPPort(*argc, *argv); in LLVMFuzzerInitialize()
300 (int)getpid(), hfnd_globals.tcp_port, HFND_TCP_PORT_ENV); in LLVMFuzzerInitialize()
304 netDriver_waitForServerReady(hfnd_globals.tcp_port); in LLVMFuzzerInitialize()
309 hfnd_globals.tcp_port); in LLVMFuzzerInitialize()
315 int sock = netDriver_sockConnLoopback(hfnd_globals.sa_family, hfnd_globals.tcp_port); in LLVMFuzzerTestOneInput()
/external/libpcap/
Dnametoaddr.c296 int tcp_port = -1; in pcap_nametoport() local
332 tcp_port = ntohs(in4->sin_port); in pcap_nametoport()
338 tcp_port = ntohs(in6->sin6_port); in pcap_nametoport()
397 if (tcp_port >= 0) { in pcap_nametoport()
398 *port = tcp_port; in pcap_nametoport()
401 if (udp_port == tcp_port) in pcap_nametoport()
/external/ltp/testcases/network/netstress/
Dnetstress.c72 static char *tcp_port; variable
475 setup_addrinfo(server_addr, tcp_port, &hints, &remote_addrinfo); in client_init()
665 if (!source_addr && !tcp_port) in server_init()
666 tcp_port = "0"; in server_init()
670 setup_addrinfo(src_addr ? src_addr : source_addr, tcp_port, in server_init()
900 server_addr, tcp_port); in setup()
1001 {"g:", &tcp_port, "-g x x - server port"},
/external/v8/src/debug/wasm/gdb-server/
Dtransport.cc21 SocketBinding SocketBinding::Bind(uint16_t tcp_port) { in Bind() argument
33 sockaddr.sin_port = htons(tcp_port); in Bind()
Dtransport.h59 static SocketBinding Bind(uint16_t tcp_port);
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc414 r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
423 r->dns_server_addr.tcp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
/external/wpa_supplicant_8/src/common/
Ddpp_tcp.c1445 port = config->tcp_port ? config->tcp_port : DPP_TCP_PORT; in dpp_controller_start()
Ddpp.h363 int tcp_port; member
/external/wpa_supplicant_8/wpa_supplicant/
Ddpp_supplicant.c718 int tcp_port = DPP_TCP_PORT; in wpas_dpp_auth_init() local
740 tcp_port = atoi(pos); in wpas_dpp_auth_init()
835 return dpp_tcp_init(wpa_s->dpp, auth, &ipaddr, tcp_port); in wpas_dpp_auth_init()
3153 config.tcp_port = atoi(pos); in wpas_dpp_controller_start()
/external/webrtc/webrtc/p2p/base/
Dport_unittest.cc2524 rtc::scoped_ptr<Port> tcp_port(CreateTcpPort(kLocalAddr1)); in TEST_F() local
2525 EXPECT_TRUE(tcp_port->SupportsProtocol(TCP_PROTOCOL_NAME)); in TEST_F()
2526 EXPECT_TRUE(tcp_port->SupportsProtocol(SSLTCP_PROTOCOL_NAME)); in TEST_F()
2527 EXPECT_FALSE(tcp_port->SupportsProtocol(UDP_PROTOCOL_NAME)); in TEST_F()