Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/print_packets.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ This example uses DPKT to read in a pcap file and print out the contents
of the packets. This example is focused on the fields in the Ethernet
Frame and IP packet.

If you're using a Linux "cooked v2" PCAP file, replace `dpkt.ethernet.Ethernet` parser by `dpkt.sll.SLL2`.

**Code Excerpt**

``` python
Expand Down