scapy.contrib.geneve

Geneve: Generic Network Virtualization Encapsulation

draft-ietf-nvo3-geneve-06

class scapy.contrib.geneve.GENEVE

Bases: scapy.packet.Packet

aliastypes
answers(other)
fields_desc
GENEVE fields

version

BitField (2 bits)

0

optionlen

BitField (6 bits)

None

oam

BitField (1 bit)

0

critical

BitField (1 bit)

0

reserved

BitField (6 bits)

0

proto

XShortEnumField

0

vni

X3BytesField

0

reserved2

XByteField

0

options

GENEVEOptionsField

b''

mysummary()
payload_guess

Possible sublayers: IP, IPv6, Ether

post_build(p, pay)
class scapy.contrib.geneve.GENEVEOptionsField(name, default, fmt='H', remain=0)

Bases: scapy.fields.XStrField

getfield(pkt, s)
islist = 1