Searched refs:TCP (Results 1 - 25 of 26) sorted by relevance

12

/vpp/src/plugins/nat/lib/
H A Dlib.h38 _ (TCP, 2, tcp, "tcp") \
/vpp/test/
H A Dtest_gso.py16 from scapy.layers.inet import TCP, ICMP namespace
97 TCP(sport=1234, dport=1234) /
116 TCP(sport=1234, dport=1234) /
133 TCP(sport=1234, dport=1234) /
155 TCP(sport=1234, dport=1234) /
165 self.assertEqual(rx[IP].len, 65240) # 65200 + 20 (IP) + 20 (TCP)
166 self.assertEqual(rx[TCP].sport, 1234)
167 self.assertEqual(rx[TCP].dport, 1234)
174 TCP(sport=1234, dport=1234) /
184 self.assertEqual(rx[IPv6].plen, 65220) # 65200 + 20 (TCP)
[all...]
H A Dtest_classifier.py11 from scapy.layers.inet import IP, UDP, TCP namespace
273 """ Classifier TCP proto Test Case """
284 """ TCP protocol iACL test
286 Test scenario for basic protocol ACL with TCP protocol
288 - Create iACL with TCP IP protocol.
292 # Basic iACL testing with TCP protocol
294 TCP(sport=1234, dport=5678))
310 self.verify_capture(self.pg1, pkts, TCP)
316 """ TCP source port iACL test
318 Test scenario for basic protocol ACL with TCP an
[all...]
H A Dtest_classifier_ip6.py11 from scapy.layers.inet6 import IPv6, UDP, TCP namespace
267 """ Classifier IP6 TCP proto Test Case """
275 """ IP6 TCP protocol iACL test
277 Test scenario for basic protocol ACL with TCP protocol
279 - Create iACL with TCP IP protocol.
283 # Basic iACL testing with TCP protocol
285 TCP(sport=1234, dport=5678))
301 self.verify_capture(self.pg1, pkts, TCP)
306 """ IP6 TCP source port iACL test
308 Test scenario for basic protocol ACL with TCP an
[all...]
H A Dtest_container.py8 from scapy.layers.inet import IP, UDP, TCP namespace
H A Dtemplate_classifier.py13 from scapy.layers.inet import IP, UDP, TCP namespace
H A Dtest_ip4.py9 from scapy.layers.inet import IP, UDP, TCP, ICMP, icmptypes, icmpcodes namespace
1632 TCP(sport=1234, dport=1234) /
1637 TCP(sport=1234, dport=1234) /
1680 TCP(sport=1234, dport=1234) /
H A Dtemplate_ipsec.py5 from scapy.layers.inet import IP, ICMP, TCP, UDP namespace
261 TCP(flags='S', dport=80)))
H A Dtest_ip6.py2198 inet6.TCP(sport=1234, dport=1234) /
2364 inet6.TCP(sport=1234, dport=1234) /
2369 inet6.TCP(sport=1234, dport=1234) /
2411 inet6.TCP(sport=1234, dport=1234) /
/vpp/src/plugins/acl/test/
H A Dtest_acl_plugin.py10 from scapy.layers.inet import IP, TCP, UDP, ICMP namespace
40 proto_map = {1: 'ICMP', 58: 'ICMPv6EchoRequest', 6: 'TCP', 17: 'UDP'}
43 TCP = 0 variable in class:TestACLplugin
235 elif p == 'TCP':
237 return TCP(sport=random.randint(self.tcp_sport_from,
242 return TCP(sport=ports, dport=ports)
381 if p == 'TCP':
382 tcp = packet[TCP]
384 TCP].sport)
386 TCP]
[all...]
H A Dtest_classify_l2_acl.py14 from scapy.layers.inet import IP, TCP, UDP, ICMP namespace
40 proto_map = {1: 'ICMP', 58: 'ICMPv6EchoRequest', 6: 'TCP', 17: 'UDP'}
43 TCP = 0 variable in class:TestClassifyAcl
220 elif p == 'TCP':
222 return TCP(sport=random.randint(self.tcp_sport_from,
227 return TCP(sport=ports, dport=ports)
366 if p == 'TCP':
367 tcp = packet[TCP]
369 TCP].sport)
371 TCP]
[all...]
H A Dtest_acl_plugin_conns.py8 from scapy.layers.inet import IP, UDP, TCP namespace
229 conn1 = Conn(self, self.pg0, self.pg1, af, TCP, 53001, 5151)
247 conn1 = Conn(self, self.pg0, self.pg1, af, TCP, 53002, 5052)
272 conn1 = Conn(self, self.pg0, self.pg1, af, TCP, 53002, 5052)
352 """ Prepare for TCP session tests """
355 # let the TCP connection time out at 5 seconds
360 """ IPv4: transient TCP session (incomplete 3WHS), ref. on ingress """
364 """ IPv4: transient TCP session (incomplete 3WHS), ref. on egress """
368 """ IPv4: established TCP session (complete 3WHS), ref. on ingress """
372 """ IPv4: established TCP sessio
[all...]
H A Dtest_acl_plugin_l2l3.py36 from scapy.layers.inet import IP, UDP, ICMP, TCP namespace
195 ulp_l4 = TCP(sport=src_l4, dport=dst_l4)
/vpp/src/plugins/nat/test/
H A Dtest_nat.py18 from scapy.layers.inet import IP, TCP, UDP, ICMP namespace
237 # TCP
240 TCP(sport=self.tcp_port_in, dport=20))
359 # TCP
362 TCP(sport=self.tcp_port_in, dport=20))
401 # TCP
404 TCP(dport=tcp_port, sport=20))
430 # TCP
433 TCP(dport=self.tcp_port_out, sport=20))
476 if packet.haslayer(TCP)
[all...]
H A Dtest_nat66.py18 from scapy.layers.inet import IP, TCP, UDP, ICMP namespace
79 TCP())
91 GRE() / IP() / TCP())
111 TCP())
123 GRE() / IP() / TCP())
H A Dtest_dslite.py11 from scapy.layers.inet import IP, TCP, UDP, ICMP namespace
140 # TCP
144 TCP(sport=20001, dport=10001))
153 self.assertNotEqual(capture[TCP].sport, 20001)
154 self.assertEqual(capture[TCP].dport, 10001)
156 out_port = capture[TCP].sport
160 TCP(sport=10001, dport=out_port))
170 self.assertEqual(capture[TCP].sport, 10001)
171 self.assertEqual(capture[TCP].dport, 20001)
H A Dtest_ipsec_nat.py7 from scapy.layers.inet import ICMP, IP, TCP, UDP namespace
73 # TCP
76 TCP(sport=self.tcp_port_in, dport=20),
89 # TCP
92 TCP(dport=self.tcp_port_out, sport=20)),
111 if packet.haslayer(TCP):
115 self.assert_equal(packet[TCP].dport, self.tcp_port_in,
116 "decrypted packet TCP destination port")
/vpp/src/plugins/map/test/
H A Dtest_map.py14 from scapy.layers.inet import IP, UDP, ICMP, TCP namespace
413 """ MAP-E TCP MSS"""
434 tag = 'MAP-E TCP tag.'
453 # TCP MSS clamping
462 p_tcp = TCP(sport=20000, dport=30000, flags="S",
477 self.assertEqual(rx[TCP].options,
478 TCP(options=[('MSS', mss_clamp)]).options)
585 payload = TCP(sport=0xabcd, dport=0xabcd)
760 # TCP MSS clamping
764 # Send a v4 TCP SY
[all...]
H A Dtest_map_br.py14 from scapy.layers.inet import IP, UDP, ICMP, TCP, IPerror, UDPerror namespace
188 # Normal translation of TCP packets v4 -> v6 direction.
189 # Send 128 frame size packet for IPv4/TCP.
195 """ MAP-T TCP IPv4 -> IPv6 """
202 tcp = TCP(sport=self.ipv4_udp_or_tcp_internet_port,
213 self.v6_port_check(rx_pkt, TCP)
215 self.assertEqual(rx_pkt[IPv6].nh, IPv6(nh="TCP").nh)
248 # Normal translation of TCP packets v6 -> v4 direction
249 # Send 128 frame size packet for IPv6/TCP.
254 """ MAP-T TCP IPv
[all...]
/vpp/src/plugins/dns/test/
H A Dtest_dns.py11 from scapy.layers.inet import IP, UDP, TCP, ICMP, icmptypes, icmpcodes namespace
/vpp/src/vnet/session/
H A Dtransport_types.h160 _(TCP, "tcp", "T") \
/vpp/src/plugins/lb/
H A Dlb.h393 _(TCP, 1, tcp, "tcp")
/vpp/src/vnet/gso/
H A Dhdr_offset_parser.h30 _( 2, TCP) \
/vpp/src/plugins/dpdk/device/
H A Dformat.c76 _ (L4, TCP, "TCP packet") \
95 _ (INNER_L4, TCP, "Inner TCP packet") \
105 _ (PKT_TX_TCP_CKSUM, "TCP cksum of TX pkt. computed by NIC") \
/vpp/src/plugins/flowprobe/test/
H A Dtest_flowprobe.py12 from scapy.layers.inet import IP, TCP, UDP namespace
430 TCP(sport=1234, dport=4321, flags=80) /
471 # protocol (TCP)

Completed in 28 milliseconds

12