Searched refs:udp_port (Results 1 – 3 of 3) sorted by relevance
297 int udp_port = -1; in pcap_nametoport() local376 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()
415 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()
2515 rtc::scoped_ptr<Port> udp_port(CreateUdpPort(kLocalAddr1)); in TEST_F() local2516 EXPECT_TRUE(udp_port->SupportsProtocol(UDP_PROTOCOL_NAME)); in TEST_F()2517 EXPECT_FALSE(udp_port->SupportsProtocol(TCP_PROTOCOL_NAME)); in TEST_F()