|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Header metadata for a captured network packet. More...
#include <wtap.h>
Public Attributes | |
| uint32_t | caplen |
| uint32_t | len |
| int | pkt_encap |
| uint32_t | interface_id |
| union wtap_pseudo_header | pseudo_header |
Header metadata for a captured network packet.
| uint32_t wtap_packet_header::caplen |
Number of bytes stored in the capture file for this packet.
| uint32_t wtap_packet_header::interface_id |
pcapng interface ID that captured this packet.
| uint32_t wtap_packet_header::len |
Original packet length as seen on the wire.
| int wtap_packet_header::pkt_encap |
Encapsulation type (WTAP_ENCAP_*) identifying the link layer for this packet.
| union wtap_pseudo_header wtap_packet_header::pseudo_header |
Encapsulation-specific metadata; active member selected by pkt_encap.