|
|
static const FieldDescriptor | Checksum |
| | Checksum value, in host byte order, written as a hexadecimal string (written if checksumBit is set)
|
| |
|
static const FieldDescriptor | Offset |
| | Routing offset, in host byte order, in bytes (written if routingBit is set)
|
| |
|
static const FieldDescriptor | Key |
| | Key value, in host byte order (written if keyBit is set)
|
| |
|
static constexpr uint16_t | MaxID = GreLayer::SerializedFields::MaxID + 3 |
| | Maximum field ID used by the layer.
|
| |
|
static const FieldDescriptor | StrictSourceRouteBit |
| | Strict source route bit (1 if set, 0 otherwise)
|
| |
|
static const FieldDescriptor | SequenceNumBit |
| | Sequence number present bit (1 if set, 0 otherwise)
|
| |
|
static const FieldDescriptor | KeyBit |
| | Key present bit (1 if set, 0 otherwise)
|
| |
|
static const FieldDescriptor | RoutingBit |
| | Routing present bit (1 if set, 0 otherwise)
|
| |
|
static const FieldDescriptor | ChecksumBit |
| | Checksum present bit (1 if set, 0 otherwise)
|
| |
|
static const FieldDescriptor | RecursionControl |
| | Number of additional encapsulations permitted (3-bit counter)
|
| |
|
static const FieldDescriptor | Flags |
| | Reserved flags (bits 8 to 12)
|
| |
|
static const FieldDescriptor | Version |
| | GRE protocol version (3 bits: 0 for GREv0, 1 for GREv1)
|
| |
|
static const FieldDescriptor | Protocol |
| | Encapsulated protocol EtherType, in host byte order.
|
| |
|
static const FieldDescriptor | SequenceNumber |
| | Sequence number, in host byte order (written if sequenceNumBit is set)
|
| |
|
static constexpr uint16_t | MaxID = Layer::SerializedFields::MaxID + 10 |
| | Maximum field ID used by the layer.
|
| |
|
static const FieldDescriptor | ProtocolName |
| | Field descriptor for the layer protocol name.
|
| |
|
static const FieldDescriptor | ProtocolId |
| | Field descriptor for the layer protocol ID.
|
| |
|
static const FieldDescriptor | Length |
| | Field descriptor for the layer length.
|
| |
|
static constexpr uint16_t | MaxID = 1 |
| | Maximum field ID used by the layer.
|
| |