Pkts.io - aboutsip/pkts GitHub Wiki
pkts.io
pkts.io is a pure java library for reading and writing pcaps. It's primary purpose is to manipulate/analyze existing pcaps, allowing you to build various tools around pcaps.
Load a pcap
Example, load a pcap from file and print the content of each UDP packet to standard out.