Searched refs:dport (Results 1 – 6 of 6) sorted by relevance
/kernel/tests/net/test/ |
D | packets.py | 64 scapy.UDP(sport=sport, dport=53) / UDP_PAYLOAD) 69 scapy.UDP(sport=sport, dport=53) / 74 scapy.UDP(sport=sport, dport=53) / 78 def SYN(dport, version, srcaddr, dstaddr, sport=0, seq=-1): argument 86 scapy.TCP(sport=sport, dport=dport, 96 scapy.TCP(sport=original.dport, dport=original.sport, 106 scapy.TCP(sport=original.dport, dport=original.sport, 119 scapy.TCP(sport=original.dport, dport=original.sport, 131 scapy.TCP(sport=original.dport, dport=original.sport,
|
D | sock_diag_test.py | 114 sport, dport = (socketpair[0].getsockname()[1], 116 socketpairs[(addr, sport, dport)] = socketpair 142 dst, dport = s.getpeername()[0:2] 144 self.assertEqual(diag_msg.id.dport, dport) 224 dport = diag_msg.id.dport 225 if (addr, sport, dport) in self.socketpairs: 226 cookies[(addr, sport, dport)] = diag_msg.id.cookie 227 elif (addr, dport, sport) in self.socketpairs: 228 cookies[(addr, sport, dport)] = diag_msg.id.cookie 249 req.id.sport, req.id.dport = req.id.dport, req.id.sport [all …]
|
D | xfrm_test.py | 58 self.assertEqual(4500, udp_hdr.dport) 113 daddr, dport = s.getpeername()[:2] 245 encaptmpl.sport, encaptmpl.dport = encaptmpl.dport, encaptmpl.sport 304 scapy.UDP(sport=4500, dport=encap_port) / payload) 328 sport=srcport, dport=53) / net_test.UDP_PAYLOAD) 509 scapy.UDP(sport=remote_port, dport=local_port) / 528 self.assertEqual(remote_port, output_pkt[scapy.UDP].dport) 573 scapy.UDP(sport=remote_port, dport=local_port) / 592 self.assertEqual(remote_port, output_pkt[scapy.UDP].dport)
|
D | sock_diag.py | 365 dst, dport = s.getpeername()[:2] 368 dport = 0 374 sock_id = InetDiagSockId((sport, dport, src, dst, iface, "\x00" * 8)) 428 sock_id.dport = 443
|
D | xfrm_tunnel_test.py | 135 IpType(**ip_hdr_options) / scapy.UDP(sport=src_port, dport=dst_port) /
|
D | multinetwork_test.py | 308 scapy.UDP(sport=sport, dport=53) /
|