#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() |
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.
Definition at line 29 of file ethernet_header.hpp.
MacAddress vanetza::EthernetHeader::destination |
Definition at line 32 of file ethernet_header.hpp.
|
staticconstexpr |
Definition at line 30 of file ethernet_header.hpp.
MacAddress vanetza::EthernetHeader::source |
Definition at line 33 of file ethernet_header.hpp.
EtherType vanetza::EthernetHeader::type |
Definition at line 34 of file ethernet_header.hpp.