Package inet.common.packet

Name Type Description
PcapRecorder simple module

Records PCAP traces of frames sent/received by other modules within the same host. By default, it records frames sent/received by L2 modules of StandardHost and Router. The output filename is expected in the pcapFile parameter. The PcapRecorder module can also print tcpdump-like textual information to on the log (EV); this functionality can be controlled by the verbose parameter.

TCPDump simple module

Provides tcpdump-like functionality: dumps packet contents on the module output, and optionally records them into a PCAP file. This module has to be placed into the packet's path, and connected both sides.