Home
last modified time | relevance | path

Searched refs:dport (Results 1 – 6 of 6) sorted by relevance

/system/extras/tests/net_test/
Dpackets.py63 scapy.UDP(sport=sport, dport=53) / UDP_PAYLOAD)
68 scapy.UDP(sport=sport, dport=53) /
73 scapy.UDP(sport=sport, dport=53) /
77 def SYN(dport, version, srcaddr, dstaddr, sport=0, seq=TCP_SEQ): argument
83 scapy.TCP(sport=sport, dport=dport,
93 scapy.TCP(sport=original.dport, dport=original.sport,
102 scapy.TCP(sport=original.dport, dport=original.sport,
115 scapy.TCP(sport=original.dport, dport=original.sport,
127 scapy.TCP(sport=original.dport, dport=original.sport,
Dsock_diag_test.py50 sport, dport = (socketpair[0].getsockname()[1],
52 socketpairs[(addr, sport, dport)] = socketpair
88 dst, dport = s.getpeername()[0:2]
90 self.assertEqual(diag_msg.id.dport, dport)
127 dport = diag_msg.id.dport
128 if (addr, sport, dport) in self.socketpairs:
129 cookies[(addr, sport, dport)] = diag_msg.id.cookie
130 elif (addr, dport, sport) in self.socketpairs:
131 cookies[(addr, sport, dport)] = diag_msg.id.cookie
192 (sock_diag.INET_DIAG_BC_D_GE, 1, 3, diag_msg.id.dport),
[all …]
Dsock_diag.py289 dst, dport = s.getpeername()[:2]
292 dport = 0
298 sock_id = InetDiagSockId((sport, dport, src, dst, iface, "\x00" * 8))
337 sock_id.dport = 443
Dmultinetwork_test.py299 scapy.UDP(sport=sport, dport=53) /
/system/core/libnetutils/
Dpacket.h22 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport);
Dpacket.c91 uint32_t saddr, uint32_t daddr, uint32_t sport, uint32_t dport) in send_packet() argument
115 udp.dest = htons(dport); in send_packet()