A Discrete-Event Network Simulator
API
PacketEntry Struct Reference

PCAP Packet structure. More...

+ Collaboration diagram for PacketEntry:

Public Attributes

uint16_t data [N_PACKET_BYTES]
 Packet data. More...
 
uint32_t inclLen
 Length of the entry in the PCAP. More...
 
uint32_t origLen
 length of the original packet More...
 
uint32_t tsSec
 Time (seconds part) More...
 
uint32_t tsUsec
 Time (micro seconds part) More...
 

Detailed Description

PCAP Packet structure.

Definition at line 1019 of file pcap-file-test-suite.cc.

Member Data Documentation

◆ data

uint16_t PacketEntry::data[N_PACKET_BYTES]

Packet data.

Definition at line 1024 of file pcap-file-test-suite.cc.

Referenced by DiffTestCase::DoRun().

◆ inclLen

uint32_t PacketEntry::inclLen

Length of the entry in the PCAP.

Definition at line 1022 of file pcap-file-test-suite.cc.

Referenced by ReadFileTestCase::DoRun().

◆ origLen

uint32_t PacketEntry::origLen

length of the original packet

Definition at line 1023 of file pcap-file-test-suite.cc.

Referenced by ReadFileTestCase::DoRun(), and DiffTestCase::DoRun().

◆ tsSec

uint32_t PacketEntry::tsSec

Time (seconds part)

Definition at line 1020 of file pcap-file-test-suite.cc.

Referenced by ReadFileTestCase::DoRun(), and DiffTestCase::DoRun().

◆ tsUsec

uint32_t PacketEntry::tsUsec

Time (micro seconds part)

Definition at line 1021 of file pcap-file-test-suite.cc.

Referenced by ReadFileTestCase::DoRun(), and DiffTestCase::DoRun().


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