Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
ethertype_data_s Struct Reference

Holds the parameters passed to the Ethertype dissector for dissecting an Ethernet payload. More...

#include <packet.h>

Public Attributes

uint16_t etype
 
int payload_offset
 
proto_treefh_tree
 
int trailer_id
 
int fcs_len
 

Detailed Description

Holds the parameters passed to the Ethertype dissector for dissecting an Ethernet payload.

Member Data Documentation

◆ etype

uint16_t ethertype_data_s::etype

The Ethertype value identifying the encapsulated protocol.

◆ fcs_len

int ethertype_data_s::fcs_len

Length in bytes of the frame check sequence (FCS) appended after the payload; 0 if absent.

◆ fh_tree

proto_tree* ethertype_data_s::fh_tree

Protocol tree node under which Ethertype fields should be added.

◆ payload_offset

int ethertype_data_s::payload_offset

Offset within the current tvbuff at which the Ethertype payload begins.

◆ trailer_id

int ethertype_data_s::trailer_id

Header field ID used to label any trailing padding bytes after the payload.


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