Wireshark 4.7.2
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
cosine_phdr Struct Reference

Pseudo-header for CoSine Systems capture files carrying encapsulation, direction, and QoS metadata. More...

#include <wtap.h>

Public Attributes

uint8_t encap
uint8_t direction
char if_name [128]
uint16_t pro
uint16_t off
uint16_t pri
uint16_t rm
uint16_t err

Detailed Description

Pseudo-header for CoSine Systems capture files carrying encapsulation, direction, and QoS metadata.

Member Data Documentation

◆ direction

uint8_t cosine_phdr::direction

Packet direction; one of the COSINE_DIR_* values.

◆ encap

uint8_t cosine_phdr::encap

Encapsulation type of this packet; one of the COSINE_ENCAP_* values.

◆ err

uint16_t cosine_phdr::err

Error code reported by the CoSine device for this packet; 0 if no error.

◆ if_name

char cosine_phdr::if_name[128]

NUL-terminated encapsulation and logical interface name string.

◆ off

uint16_t cosine_phdr::off

Offset value associated with this packet's encapsulation layer.

◆ pri

uint16_t cosine_phdr::pri

Priority level assigned to this packet for QoS processing.

◆ pro

uint16_t cosine_phdr::pro

Protocol identifier associated with this packet.

◆ rm

uint16_t cosine_phdr::rm

Rate Marking value applied to this packet for traffic shaping.


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