scapy.layers.vxlan module

Virtual eXtensible Local Area Network (VXLAN) - RFC 7348 -

A Framework for Overlaying Virtualized Layer 2 Networks over Layer 3 Networks

VXLAN Group Policy Option:

class scapy.layers.vxlan.VXLAN

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.layers.vxlan.VXLAN'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (VXLAN).flags>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>, <Field (VXLAN).vni>, <Field (VXLAN).reserved2>]

DEV: can be overloaded to return a string that summarizes the layer. Only one mysummary() is used in a whole packet summary: the one of the upper layer, # noqa: E501 except if a mysummary() also returns (as a couple) a list of layers whose # noqa: E501 mysummary() must be called if they are present.

payload_guess = [({'NextProtocol': 0}, <class 'scapy.layers.l2.Ether'>), ({'NextProtocol': 1}, <class 'scapy.layers.inet.IP'>), ({'NextProtocol': 2}, <class 'scapy.layers.inet6.IPv6'>), ({'NextProtocol': 3}, <class 'scapy.layers.l2.Ether'>), ({'NextProtocol': None}, <class 'scapy.layers.l2.Ether'>), ({'NextProtocol': 4, 'flags': 12}, <class 'scapy.contrib.nsh.NSH'>)]