scapy.contrib.bier module

class scapy.contrib.bier.BIER

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.bier.BIER'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (BIER).id>, <Field (BIER).version>, <Field (BIER).length>, <Field (BIER).entropy>, <Field (BIER).OAM>, <Field (BIER).RSV>, <Field (BIER).DSCP>, <Field (BIER).Proto>, <Field (BIER).BFRID>, <Field (BIER).BitString>]
payload_guess = [({'Proto': 4}, <class 'scapy.layers.inet.IP'>), ({'Proto': 5}, <class 'scapy.layers.inet6.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 = [<class 'scapy.contrib.bier.BIFT'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (BIFT).bsl>, <Field (BIFT).sd>, <Field (BIFT).set>, <Field (BIFT).cos>, <Field (BIFT).s>, <Field (BIFT).ttl>]
payload_guess = [({}, <class 'scapy.contrib.bier.BIER'>)]