|
|
static const FieldDescriptor | AckSequenceNumBit |
| | Acknowledgment number present bit (1 if set, 0 otherwise)
|
| |
|
static const FieldDescriptor | PayloadLength |
| | Size of the payload not including the GRE header, in bytes and in host byte order.
|
| |
|
static const FieldDescriptor | CallID |
| | Peer Call ID for the PPTP session, in host byte order.
|
| |
|
static const FieldDescriptor | AcknowledgmentNumber |
| | Acknowledgment sequence number, in host byte order (written if ackSequenceNumBit is set)
|
| |
|
static constexpr uint16_t | MaxID = GreLayer::SerializedFields::MaxID + 4 |
| | 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.
|
| |