Make a pcapng file, not pcap
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -34,4 +34,5 @@ __pycache__
|
|||||||
*.vcd
|
*.vcd
|
||||||
*.fst.*
|
*.fst.*
|
||||||
results.xml
|
results.xml
|
||||||
html
|
html
|
||||||
|
*.pcapng
|
||||||
@@ -57,7 +57,7 @@ def ip_to_hex(ip: str) -> int:
|
|||||||
|
|
||||||
@cocotb.test()
|
@cocotb.test()
|
||||||
async def test_simple(dut):
|
async def test_simple(dut):
|
||||||
pktdump = PcapWriter("tcp.pcap", append=True, sync=True)
|
pktdump = PcapWriter("tcp.pcapng", append=True, sync=True)
|
||||||
|
|
||||||
|
|
||||||
tb = TB(dut)
|
tb = TB(dut)
|
||||||
|
|||||||
Reference in New Issue
Block a user