Install libnet-frame-dump-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libnet-frame-dump-perl
base-class for a tcpdump like implementation
Net::Frame::Dump is the base class for all dump modules. With them, you can open a device for live capture, for offline analysis, or for creating a pcap file. . See Net::Frame::Dump::Offline, Net::Frame::Dump::Online, Net::Frame::Dump::Writer for specific usage.