scapy.layers.vxlan¶
Virtual eXtensible Local Area Network (VXLAN) - RFC 7348 -
A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks http://tools.ietf.org/html/rfc7348 https://www.ietf.org/id/draft-ietf-nvo3-vxlan-gpe-02.txt
VXLAN Group Policy Option: http://tools.ietf.org/html/draft-smith-vxlan-group-policy-00
-
class
scapy.layers.vxlan.
VXLAN
(*args, **kargs)[source]¶ Bases:
scapy.base_classes.Gen
[scapy.packet.Packet
]-
aliastypes
¶
-
fields_desc
¶ Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FLAGS | RESERVED0 | NEXTPROTOCOL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | RESERVED1 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | GPFLAGS | GPID | VNI | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ +-+-+-+-+-+-+-+-+ | | RESERVED2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. VXLAN
VXLAN fields¶ flags
<Flag 8 (Instance)>
reserved0
ShortField
(Cond)0
NextProtocol
ByteEnumField
(Cond)0
reserved1
ThreeBytesField
(Cond)0
gpflags
FlagsField
(Cond)<Flag 0 ()>
gpid
ShortField
(Cond)0
vni
0
reserved2
0
-