Vanetza
Loading...
Searching...
No Matches
ethertype.hpp
1#ifndef ETHERTYPE_HPP_ED3SIJFX
2#define ETHERTYPE_HPP_ED3SIJFX
3
4#include <vanetza/common/byte_order.hpp>
5
6namespace vanetza
7{
8namespace access
9{
10
11using EtherType = uint16be_t;
12
13namespace ethertype
14{
15
16static const EtherType GeoNetworking = host_cast<uint16_t>(0x8947);
17static const EtherType WSMP = host_cast<uint16_t>(0x88DC);
18
19} // namespace ethertype
20
21} // namespace access
22} // namespace vanetza
23
24#endif /* ETHERTYPE_HPP_ED3SIJFX */
static constexpr T mask
static constexpr std::size_t bits
Link layer header used by ITS-G5 stations.
Logical Link Control header with SNAP extension.
Frame Control field in IEEE 802.11 MAC header.
QoS Control field in IEEE 802.11 MAC header.
Sequence Control field in IEEE 802.11 MAC header.