Home
last modified time | relevance | path

Searched refs:source_port (Results 1 – 8 of 8) sorted by relevance

/external/mdnsresponder/mDNSShared/
Ddnsextd_parser.y42 int source_port; member
561 if ( info->source_port ) in SetupOptions()
563 d->addr.sin_port = htons( ( mDNSu16 ) info->source_port ); in SetupOptions()
/external/webrtc/webrtc/test/channel_transport/
Dudp_transport_impl.cc2745 uint16_t source_port = 0; in IPAddress() local
2759 source_port = address._sockaddr_in.sin_port; in IPAddress()
2778 source_port = address._sockaddr_in6.sin6_port; in IPAddress()
2781 sourcePort = htons(source_port); in IPAddress()
2804 uint16_t source_port; in IPAddress()
2807 source_port = address._sockaddr_in.sin_port; in IPAddress()
2810 source_port = address._sockaddr_in6.sin6_port; in IPAddress()
2813 sourcePort = htons(source_port); in IPAddress()
/external/python/cpython2/Lib/test/
Dtest_httplib.py718 self.source_port = test_support.find_unused_port()
732 source_address=('', self.source_port))
734 self.assertEqual(self.conn.sock.getsockname()[1], self.source_port)
740 source_address=('', self.source_port))
Dtest_socket.py1384 self.source_port = test_support.find_unused_port()
1404 source_address=('', self.source_port))
1406 self.assertEqual(self.cli.getsockname()[1], self.source_port)
/external/webrtc/webrtc/test/
Drtp_file_reader.cc378 uint16_t source_port; member
566 TRY_PCAP(Read(&marker->source_port, true)); in ReadXxpIpHeader()
/external/dnsmasq/src/
Doption.c1289 int source_port = 0, serv_port = NAMESERVER_PORT; in one_opt() local
1293 (portno = split_chr(source, '#')) && !atoi_check16(portno, &source_port)) in one_opt()
1315 newlist->source_addr.in.sin_port = htons(source_port); in one_opt()
1334 newlist->source_addr.in6.sin6_port = htons(source_port); in one_opt()
/external/python/cpython3/Lib/test/
Dtest_httplib.py1422 self.source_port = support.find_unused_port()
1435 source_address=('', self.source_port))
1437 self.assertEqual(self.conn.sock.getsockname()[1], self.source_port)
1443 source_address=('', self.source_port))
Dtest_socket.py4748 self.source_port = support.find_unused_port()
4768 source_address=('', self.source_port))
4770 self.assertEqual(self.cli.getsockname()[1], self.source_port)