scapy.contrib.geneve

Geneve:通用网络虚拟化封装

draft-ietf-nvo3-geneve-06

class scapy.contrib.geneve.GENEVE

Bases: scapy.packet.Packet

aliastypes
answers(other)
fields_desc
GENEVE字段

version

BitField (2位)

0

optionlen

BitField (6位)

None

oam

BitField (1位)

0

critical

BitField (1位)

0

reserved

BitField (6位)

0

proto

XShortEnumField

0

vni

X3BytesField

0

reserved2

XByteField

0

options

GENEVEOptionsField

b''

mysummary()
payload_guess

可能的子层: IPIPv6Ether

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

Bases: scapy.fields.XStrField

getfield(pkt, s)
islist = 1