A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
PacketEntry Struct Reference

PCAP Packet structure. More...

+ Collaboration diagram for PacketEntry:

Public Attributes

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

Detailed Description

PCAP Packet structure.

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

Member Data Documentation

◆ data

uint16_t PacketEntry::data[N_PACKET_BYTES]

Packet data.

Definition at line 1114 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 1112 of file pcap-file-test-suite.cc.

Referenced by ReadFileTestCase::DoRun().

◆ origLen

uint32_t PacketEntry::origLen

length of the original packet

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

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

◆ tsSec

uint32_t PacketEntry::tsSec

Time (seconds part)

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

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

◆ tsUsec

uint32_t PacketEntry::tsUsec

Time (micro seconds part)

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

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


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