A Discrete-Event Network Simulator
API
ns3::PcapFile::PcapRecordHeader Struct Reference

Pcap record header. More...

Public Attributes

uint32_t m_inclLen
 number of octets of packet saved in file More...
 
uint32_t m_origLen
 actual length of original packet More...
 
uint32_t m_tsSec
 seconds part of timestamp More...
 
uint32_t m_tsUsec
 microseconds part of timestamp (nsecs for PCAP_NSEC_MAGIC) More...
 

Detailed Description

Pcap record header.

Definition at line 307 of file pcap-file.h.

Member Data Documentation

◆ m_inclLen

uint32_t ns3::PcapFile::PcapRecordHeader::m_inclLen

number of octets of packet saved in file

Definition at line 310 of file pcap-file.h.

Referenced by ns3::PcapFile::Read(), ns3::PcapFile::Swap(), and ns3::PcapFile::WritePacketHeader().

◆ m_origLen

uint32_t ns3::PcapFile::PcapRecordHeader::m_origLen

actual length of original packet

Definition at line 311 of file pcap-file.h.

Referenced by ns3::PcapFile::Read(), ns3::PcapFile::Swap(), and ns3::PcapFile::WritePacketHeader().

◆ m_tsSec

uint32_t ns3::PcapFile::PcapRecordHeader::m_tsSec

seconds part of timestamp

Definition at line 308 of file pcap-file.h.

Referenced by ns3::PcapFile::Read(), ns3::PcapFile::Swap(), and ns3::PcapFile::WritePacketHeader().

◆ m_tsUsec

uint32_t ns3::PcapFile::PcapRecordHeader::m_tsUsec

microseconds part of timestamp (nsecs for PCAP_NSEC_MAGIC)

Definition at line 309 of file pcap-file.h.

Referenced by ns3::PcapFile::Read(), ns3::PcapFile::Swap(), and ns3::PcapFile::WritePacketHeader().


The documentation for this struct was generated from the following file: