Vanetza
 
Loading...
Searching...
No Matches
vanetza::EthernetHeader Class Reference

#include <ethernet_header.hpp>

Public Types

using EtherType = uint16be_t
 

Public Attributes

MacAddress destination
 
MacAddress source
 
EtherType type
 

Static Public Attributes

static constexpr std::size_t length_bytes = ethernet_header_length()
 

Detailed Description

Link-level header of type Ethernet II

EthernetHeader is suitable for Linux raw packet sockets, see man 7 packet

Definition at line 26 of file ethernet_header.hpp.

Member Typedef Documentation

◆ EtherType

Member Data Documentation

◆ destination

MacAddress vanetza::EthernetHeader::destination

Definition at line 32 of file ethernet_header.hpp.

◆ length_bytes

constexpr std::size_t vanetza::EthernetHeader::length_bytes = ethernet_header_length()
staticconstexpr

Definition at line 30 of file ethernet_header.hpp.

◆ source

MacAddress vanetza::EthernetHeader::source

Definition at line 33 of file ethernet_header.hpp.

◆ type

EtherType vanetza::EthernetHeader::type

Definition at line 34 of file ethernet_header.hpp.


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