Searched refs:Ether (Results 1 - 25 of 99) sorted by relevance

1234

/vpp/test/
H A Dtest_gso.py14 from scapy.layers.inet6 import IPv6, Ether, IP, UDP, ICMPv6PacketTooBig namespace
94 p4 = (Ether(src=self.pg0.remote_mac, dst=self.pg0.local_mac) /
103 self.assertEqual(rx[Ether].src, self.pg0.local_mac)
104 self.assertEqual(rx[Ether].dst, self.pg0.remote_mac)
113 p40 = (Ether(src=self.pg2.remote_mac, dst=self.pg2.local_mac) /
122 self.assertEqual(rx[Ether].src, self.pg0.local_mac)
123 self.assertEqual(rx[Ether].dst, self.pg0.remote_mac)
131 p60 = (Ether(src=self.pg2.remote_mac, dst=self.pg2.local_mac) /
139 self.assertEqual(rx[Ether].src, self.pg0.local_mac)
140 self.assertEqual(rx[Ether]
[all...]
H A Dtest_trace_filter.py10 from scapy.layers.l2 import Ether namespace
110 p = (Ether(src=self.pg0.remote_mac, dst=self.pg0.local_mac) /
114 Ether() /
118 Ether() /
129 tmpl = (Ether() /
133 Ether() /
137 Ether() /
H A Dtemplate_bd.py6 from scapy.layers.l2 import Ether namespace
20 return (Ether(src='00:00:00:00:00:01', dst='00:00:00:00:00:02') /
28 return (Ether(src='00:00:00:00:00:02', dst='00:00:00:00:00:01') /
59 """ Verify the Ether, IP, UDP, payload are equal in both
62 self.assertEqual(pkt1[Ether].src, pkt2[Ether].src)
63 self.assertEqual(pkt1[Ether].dst, pkt2[Ether].dst)
H A Dtest_vxlan_gbp.py9 from scapy.layers.l2 import Ether namespace
24 return (Ether(src='00:00:00:00:00:01', dst='00:00:00:00:00:02') /
32 return (Ether(src='00:00:00:00:00:02', dst='00:00:00:00:00:01') /
42 return (Ether(src=self.pg0.remote_mac, dst=self.pg0.local_mac) /
66 self.assertEqual(pkt[Ether].src, self.pg0.local_mac)
69 self.assertEqual(pkt[Ether].dst, self.pg0.remote_mac)
71 self.assertEqual(pkt[Ether].dst, type(self).mcast_mac)
185 """ Verify the Ether, IP, UDP, payload are equal in both
188 self.assertEqual(pkt1[Ether].src, pkt2[Ether]
[all...]
H A Dtest_l2tp.py5 from scapy.layers.l2 import Ether namespace
25 pkt = (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
H A Dtest_dvr.py11 from scapy.layers.l2 import Ether, Dot1Q namespace
49 t_eth = tx[Ether]
51 r_eth = p[Ether]
75 pkt_no_tag = (Ether(src=self.pg0.remote_mac,
81 pkt_tag = (Ether(src=self.pg0.remote_mac,
157 pkt_tag_to_tag = (Ether(src=self.pg2.remote_mac,
174 pkt_tag_to_non_tag = (Ether(src=self.pg2.remote_mac,
261 pkt_no_tag = (Ether(src=self.pg0.remote_mac,
267 pkt_to_tag = (Ether(src=self.pg0.remote_mac,
273 pkt_from_tag = (Ether(sr
[all...]
H A Dtest_vxlan6.py8 from scapy.layers.l2 import Ether namespace
31 return (Ether(src=self.pg0.remote_mac, dst=self.pg0.local_mac) /
48 return (Ether(src=src_mac, dst=self.mcast_mac) /
68 self.assertEqual(pkt[Ether].src, self.pg0.local_mac)
71 self.assertEqual(pkt[Ether].dst, self.pg0.remote_mac)
73 self.assertEqual(pkt[Ether].dst, type(self).mcast_mac)
200 frame = (Ether(src='00:00:00:00:00:02', dst='00:00:00:00:00:01') /
222 self.assertEqual(Ether(raw(frame))[IP], reassembled[IP])
H A Dtest_neighbor.py15 from scapy.layers.l2 import Ether, ARP, Dot1Q namespace
81 ether = rx[Ether]
97 ether = rx[Ether]
113 ether = rx[Ether]
131 ether = rx[Ether]
140 ether = rx[Ether]
181 p = (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
217 dyn_p = (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
250 static_p = (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
313 p = (Ether(ds
[all...]
H A Dtest_vxlan.py9 from scapy.layers.l2 import Ether namespace
32 return (Ether(src=self.pg0.remote_mac, dst=self.pg0.local_mac) /
47 return (Ether(src=src_mac, dst=self.mcast_mac) /
67 self.assertEqual(pkt[Ether].src, self.pg0.local_mac)
70 self.assertEqual(pkt[Ether].dst, self.pg0.remote_mac)
72 self.assertEqual(pkt[Ether].dst, type(self).mcast_mac)
250 frame = (Ether(src='00:00:00:00:00:02', dst='00:00:00:00:00:01') /
/vpp/src/plugins/svs/test/
H A Dtest_svs.py9 from scapy.layers.l2 import Ether namespace
69 pkts_0 = [(Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
73 (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
77 (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
81 pkts_1 = [(Ether(dst=self.pg1.local_mac, src=self.pg1.remote_mac) /
85 (Ether(dst=self.pg1.local_mac, src=self.pg1.remote_mac) /
89 (Ether(dst=self.pg1.local_mac, src=self.pg1.remote_mac) /
142 p = (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
148 p = (Ether(dst=self.pg1.local_mac, src=self.pg1.remote_mac) /
196 pkts_0 = [(Ether(ds
[all...]
/vpp/src/plugins/gbp/test/
H A Dtest_gbp.py8 from scapy.layers.l2 import Ether, ARP, Dot1Q namespace
625 self.assertEqual(r[Ether].src, tx[0][Ether].src)
626 self.assertEqual(r[Ether].dst, tx[0][Ether].dst)
635 self.assertEqual(r[Ether].src, tx[0][Ether].src)
636 self.assertEqual(r[Ether].dst, tx[0][Ether].dst)
645 self.assertEqual(r[Ether]
[all...]
/vpp/src/plugins/nat/test/
H A Dtest_nat66.py23 from scapy.layers.l2 import Ether, ARP, GRE namespace
77 p = (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
81 p = (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
85 p = (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
89 p = (Ether(dst=self.pg0.local_mac, src=self.pg0.remote_mac) /
109 p = (Ether(dst=self.pg1.local_mac, src=self.pg1.remote_mac) /
113 p = (Ether(dst=self.pg1.local_mac, src=self.pg1.remote_mac) /
117 p = (Ether(dst=self.pg1.local_mac, src=self.pg1.remote_mac) /
121 p = (Ether(dst=self.pg1.local_mac, src=self.pg1.remote_mac) /
155 p = (Ether(ds
[all...]
/vpp/src/plugins/dns/test/
H A Dtest_dns.py12 from scapy.layers.l2 import Ether namespace
46 good_request = (Ether(dst=src_if.local_mac, src=src_if.remote_mac) /
51 bad_request = (Ether(dst=src_if.local_mac, src=src_if.remote_mac) /
/vpp/src/plugins/nat/extras/
H A Dnat_100ks.py6 base_pkt = Ether()/IP(dst="2.2.0.1")/UDP(dport=12)
H A Dnat_10Ms.py6 base_pkt = Ether()/IP(dst="2.2.0.1")/UDP(dport=12)
H A Dnat_10ks.py6 base_pkt = Ether()/IP(dst="2.2.0.1")/UDP(dport=12)
H A Dnat_1Ms.py6 base_pkt = Ether()/IP(dst="2.2.0.1")/UDP(dport=12)
H A Dnat_out2in_100ks.py6 base_pkt = Ether()/IP(src="2.2.0.1")/UDP(sport=12)
H A Dnat_out2in_10Ms.py6 base_pkt = Ether()/IP(src="2.2.0.1")/UDP(sport=12)
H A Dnat_out2in_10ks.py6 base_pkt = Ether()/IP(src="2.2.0.1")/UDP(sport=12)
H A Dnat_out2in_1Ms.py6 base_pkt = Ether()/IP(src="2.2.0.1")/UDP(sport=12)
H A Dnat_test_fast_path.py7 # base_pkt = Ether()/IP(dst="2.2.0.1")/UDP(dport=12)
51 base_pkt = Ether()/IP(src="16.0.0.1", dst="2.0.0.1")/UDP(dport=12, sport=1025)
H A Dnat_test_slow_path.py7 # base_pkt = Ether()/IP(dst="2.2.0.1")/UDP(dport=12)
49 base_pkt = Ether()/IP(src="16.0.0.1", dst="2.0.0.1")/UDP(dport=12, sport=1025)
/vpp/src/plugins/urpf/test/
H A Dtest_urpf.py8 from scapy.layers.l2 import Ether namespace
53 p_spoof_loose = (Ether(dst=self.pg0.local_mac,
58 p_spoof_strict = (Ether(dst=self.pg0.local_mac,
64 p_good = (Ether(dst=self.pg0.local_mac,
155 p_spoof_strict = (Ether(dst=self.pg0.local_mac,
175 p_spoof_loose = (Ether(dst=self.pg0.local_mac,
180 p_spoof_strict = (Ether(dst=self.pg0.local_mac,
186 p_good = (Ether(dst=self.pg0.local_mac,
277 p_spoof_strict = (Ether(dst=self.pg0.local_mac,
/vpp/src/plugins/map/test/
H A Dtest_map_br.py12 from scapy.layers.l2 import Ether namespace
167 eth = Ether(src=self.pg0.remote_mac,
197 eth = Ether(src=self.pg0.remote_mac,
226 eth = Ether(src=self.pg1.remote_mac,
256 eth = Ether(src=self.pg1.remote_mac,
285 eth = Ether(src=self.pg1.remote_mac,
314 eth = Ether(src=self.pg1.remote_mac,
343 eth = Ether(src=self.pg0.remote_mac,
384 eth = Ether(src=self.pg1.remote_mac,
411 eth = Ether(sr
[all...]

Completed in 12 milliseconds

1234