scapy.contrib.bier

class scapy.contrib.bier.BIER

Bases: scapy.packet.Packet

aliastypes
fields_desc
BIER fields

id

BitField (4 bits)

5

version

BitField (4 bits)

0

length

BitFieldLenField (4 bits)

2

entropy

BitField (20 bits)

0

OAM

BitField (2 bits)

0

RSV

BitField (2 bits)

0

DSCP

BitField (6 bits)

0

Proto

BitEnumField (6 bits)

2

BFRID

ShortField

0

BitString

StrLenField

b''

payload_guess

Possible sublayers: IP, IPv6

class scapy.contrib.bier.BIERLength

Bases: object

BIER_LEN_1024 = 4
BIER_LEN_128 = 1
BIER_LEN_256 = 2
BIER_LEN_512 = 3
BIER_LEN_64 = 0
class scapy.contrib.bier.BIFT

Bases: scapy.packet.Packet

aliastypes
fields_desc
BIFT fields

bsl

BitField (4 bits)

2

sd

BitField (8 bits)

0

set

BitField (8 bits)

0

cos

BitField (3 bits)

0

s

BitField (1 bit)

1

ttl

ByteField

0

payload_guess

Possible sublayers: BIER