Home
last modified time | relevance | path

Searched refs:UDP (Results 1 – 3 of 3) sorted by relevance

/kernel/tests/net/test/
Dpackets.py57 def UDP(version, srcaddr, dstaddr, sport=0): function
64 scapy.UDP(sport=sport, dport=53) / UDP_PAYLOAD)
69 scapy.UDP(sport=sport, dport=53) /
74 scapy.UDP(sport=sport, dport=53) /
Dxfrm_test.py57 udp_hdr = packet[scapy.UDP]
120 desc, pkt = packets.UDP(version, saddr, daddr, sport=sport)
304 scapy.UDP(sport=4500, dport=encap_port) / payload)
327 scapy.IP(src=remoteaddr, dst=myaddr) / scapy.UDP(
509 scapy.UDP(sport=remote_port, dport=local_port) /
526 self.assertEqual(output_pkt[scapy.UDP].len, len("output_hello") + 8)
528 self.assertEqual(remote_port, output_pkt[scapy.UDP].dport)
530 self.assertEqual("output hello", str(output_pkt[scapy.UDP].payload))
573 scapy.UDP(sport=remote_port, dport=local_port) /
590 self.assertEqual(output_pkt[scapy.UDP].len, len("output_hello") + 8)
[all …]
Dxfrm_algorithm_test.py222 packet.getlayer(scapy.UDP),