added 3 bmv2 examples: copy_to_cpu, meter, TLV_parsing
This commit is contained in:
6
examples/copy_to_cpu/send_one.py
Normal file
6
examples/copy_to_cpu/send_one.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from scapy.all import *
|
||||
|
||||
p = Ether(dst="aa:bb:cc:dd:ee:ff") / IP(dst="10.0.1.10") / TCP() / "aaaaaaaaaaaaaaaaaaa"
|
||||
# p.show()
|
||||
hexdump(p)
|
||||
sendp(p, iface = "veth0")
|
||||
Reference in New Issue
Block a user