pcap.core

A example pcap file format reader

-main

ARP-V4-HEADER

ETHERNET-HEADER

ETHERTYPE-MAP

IP-V4-HEADER

LINKTYPE-BITFIELD

main

(main path)

Read pcap file at path and print header and records

parse-file

(parse-file path)

PCAP-HEADER

RECORD-HEADER