Home
last modified time | relevance | path

Searched refs:tcp_port (Results 1 – 6 of 6) 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,
297 hfnd_globals.tcp_port = netDriver_getTCPPort(*argc, *argv); in LLVMFuzzerInitialize()
304 (int)getpid(), hfnd_globals.tcp_port, HFND_TCP_PORT_ENV); in LLVMFuzzerInitialize()
308 netDriver_waitForServerReady(hfnd_globals.tcp_port); in LLVMFuzzerInitialize()
313 hfnd_globals.tcp_port); in LLVMFuzzerInitialize()
319 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.c86 static char *tcp_port; variable
476 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()
895 server_addr, tcp_port); in setup()
995 {"g:", &tcp_port, "-g x x - server 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/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()