Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Geneve (geneve)

Reached from

Lower layerSelectorValue
udpdst_port / src_port6081 (0x17c1)

Fields

FieldTypeDefaultAutoDescription
versionuint(2)0Geneve version (0).
opt_lenuint(6)0Length of the options region, in 4-octet words.
o_flaguint(1)0OAM packet flag.
c_flaguint(1)0Critical options present flag.
reserved_flagsuint(6)0
protocol_typeenum(16)25944 (transparent_ethernet)Protocol number of the next layer (see Next layer)EtherType of the encapsulated payload.
vniuint(24)024-bit Geneve Virtual Network Identifier.
reserveduint(8)0
optionsbytes — opt_len * 4 octets""Geneve options (opaque; sized by opt_len).

protocol_type

ValueName
25944 (0x6558)transparent_ethernet
2048 (0x0800)ipv4
34525 (0x86dd)ipv6

Next layer

The next layer is selected by protocol_type; when the field is Auto the builder writes the value of the protocol stacked above.

ValueProtocolNote
25944 (0x6558)ethernet2
2048 (0x0800)ipv4
34525 (0x86dd)ipv6

Sample templates

  • geneve — templates/protocols/encap/geneve.wpg.yaml