Home
last modified time | relevance | path

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

/external/libpcap/
Dnametoaddr.c175 int udp_port = -1; in pcap_nametoport() local
186 if (sp != NULL) udp_port = ntohs(sp->s_port); in pcap_nametoport()
190 if (udp_port >= 0) { in pcap_nametoport()
191 if (udp_port == tcp_port) in pcap_nametoport()
203 if (udp_port >= 0) { in pcap_nametoport()
204 *port = udp_port; in pcap_nametoport()
/external/kernel-headers/original/linux/
Dwanrouter.h214 unsigned udp_port; /* UDP port for management */ member
478 unsigned udp_port; /* UDP port for management */ member
/external/wpa_supplicant_8/src/drivers/
Ddriver_test.c96 int udp_port; member
1246 drv->udp_port = atoi(params->test_socket + 4); in test_driver_init()
1250 if (drv->own_socket_path == NULL && drv->udp_port == 0) { in test_driver_init()
1255 drv->test_socket = socket(drv->udp_port ? PF_INET : PF_UNIX, in test_driver_init()
1263 if (drv->udp_port) { in test_driver_init()
1266 addr_in.sin_port = htons(drv->udp_port); in test_driver_init()
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/net/
DDatagramSocketTest.java871 int udp_port = 20000; in test_sendLjava_net_DatagramPacket2() local
873 DatagramSocket udpSocket = new DatagramSocket(udp_port); in test_sendLjava_net_DatagramPacket2()