July 19, 2018
INET has support for recording PCAP traces from simulations. The recording process produces PCAP files that are similar to real world PCAP traces, so one can use the same tools and techniques for analyzing simulated traffic as used on real traffic, such as Wireshark and TCPDump. Knowledge of PCAP can be reused in the context of simulations.
This showcase contains an example simulation, which generates and records PCAP traces of TCP, UDP, and ICMP traffic, using various physical layer protocols like ethernet and 802.11.