Skip to content

Commit

Permalink
PcapRecorder: Fixed #979, changed the default configuration to use tr…
Browse files Browse the repository at this point in the history
…ansmissionEnded, receptionEnded signals.

By default we capture with the transmission end and reception end timestamp and packet content.
Now that PcapRecorder supports writing only the dumped part of the packet, the packet data should be the same as before.
The packet timestamps are the transmission end, and reception end timestamps.
  • Loading branch information
levy committed Dec 20, 2024
1 parent 128c9cf commit 9b760de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/inet/common/packet/recorder/PcapRecorder.ned
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ simple PcapRecorder
int timePrecision = default(6); // Time precision in recorded file. pcap supports only 6 (usec) or 9 (nanosec), pcapng supports more values (see 'if_tsresol' option in pcapng file format).
bool dumpBadFrames = default(true); // Enable dump of frames with hasBitError
string moduleNamePatterns = default("wlan[*] eth[*] ppp[*]"); // Space-separated list of sibling module names to listen on
string sendingSignalNames = default("packetSentToLower"); // Space-separated list of outbound packet signals to subscribe to
string receivingSignalNames = default("packetReceivedFromLower"); // Space-separated list of inbound packet signals to subscribe to
string sendingSignalNames = default("transmissionEnded"); // Space-separated list of outbound packet signals to subscribe to
string receivingSignalNames = default("receptionEnded"); // Space-separated list of inbound packet signals to subscribe to
string dumpProtocols = default("ethernetmac ppp ieee80211mac"); // Space-separated list of protocol names as defined in the Protocol class
object packetFilter = default("*"); // Which packets are considered, matches all packets by default
string helpers = default(""); // Usable PcapRecorder::IHelper helpers for accept packettype and store/convert packet as specified linktype
Expand Down

0 comments on commit 9b760de

Please sign in to comment.