scapy.contrib.mpls

class scapy.contrib.mpls.EoMCW

Bases: scapy.packet.Packet

aliastypes
fields_desc
EoMCW fields

zero

BitField (4 bits)

0

reserved

BitField (12 bits)

0

seq

ShortField

0

guess_payload_class(payload)
payload_guess

Possible sublayers: Ether

class scapy.contrib.mpls.MPLS

Bases: scapy.packet.Packet

aliastypes
fields_desc
MPLS fields

label

BitField (20 bits)

3

cos

BitField (3 bits)

0

s

BitField (1 bit)

1

ttl

ByteField

0

guess_payload_class(payload)
payload_guess

Possible sublayers: EoMCW, MPLS, IP, IPv6