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 309 of file pcap-file.h.

Member Data Documentation

uint32_t ns3::PcapFile::PcapRecordHeader::m_inclLen

number of octets of packet saved in file

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

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

uint32_t ns3::PcapFile::PcapRecordHeader::m_origLen

actual length of original packet

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

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

uint32_t ns3::PcapFile::PcapRecordHeader::m_tsSec

seconds part of timestamp

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

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

uint32_t ns3::PcapFile::PcapRecordHeader::m_tsUsec

microseconds part of timestamp (nsecs for PCAP_NSEC_MAGIC)

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

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


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