Home
last modified time | relevance | path

Searched refs:udp_port (Results 1 – 3 of 3) sorted by relevance

/external/libpcap/
Dnametoaddr.c297 int udp_port = -1; in pcap_nametoport() local
376 udp_port = ntohs(in4->sin_port); in pcap_nametoport()
382 udp_port = ntohs(in6->sin6_port); in pcap_nametoport()
400 if (udp_port >= 0) { in pcap_nametoport()
401 if (udp_port == tcp_port) in pcap_nametoport()
413 if (udp_port >= 0) { in pcap_nametoport()
414 *port = udp_port; in pcap_nametoport()
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/
Dgrpc_ares_wrapper.cc415 r->dns_server_addr.udp_port = grpc_sockaddr_get_port(&addr); in grpc_dns_lookup_ares_continue_after_check_localhost_and_ip_literals_locked()
424 r->dns_server_addr.udp_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.cc2515 rtc::scoped_ptr<Port> udp_port(CreateUdpPort(kLocalAddr1)); in TEST_F() local
2516 EXPECT_TRUE(udp_port->SupportsProtocol(UDP_PROTOCOL_NAME)); in TEST_F()
2517 EXPECT_FALSE(udp_port->SupportsProtocol(TCP_PROTOCOL_NAME)); in TEST_F()