Searched refs:source_port (Results 1 – 8 of 8) sorted by relevance
/external/mdnsresponder/mDNSShared/ |
D | dnsextd_parser.y | 42 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/ |
D | udp_transport_impl.cc | 2745 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/ |
D | test_httplib.py | 718 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))
|
D | test_socket.py | 1384 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/ |
D | rtp_file_reader.cc | 378 uint16_t source_port; member 566 TRY_PCAP(Read(&marker->source_port, true)); in ReadXxpIpHeader()
|
/external/dnsmasq/src/ |
D | option.c | 1289 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/ |
D | test_httplib.py | 1422 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))
|
D | test_socket.py | 4748 self.source_port = support.find_unused_port() 4768 source_address=('', self.source_port)) 4770 self.assertEqual(self.cli.getsockname()[1], self.source_port)
|