scapy.contrib.chdlc module

class scapy.contrib.chdlc.CHDLC

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.chdlc.CHDLC'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (CHDLC).address>, <Field (CHDLC).control>, <Field (CHDLC).proto>]
payload_guess = [({'proto': 25944}, <class 'scapy.layers.l2.Dot3'>), ({'proto': 2048}, <class 'scapy.layers.inet.IP'>), ({'proto': 34525}, <class 'scapy.layers.inet6.IPv6'>), ({'proto': 32821}, <class 'scapy.contrib.chdlc.SLARP'>), ({'proto': 16962}, <class 'scapy.layers.l2.STP'>)]
class scapy.contrib.chdlc.SLARP

Bases: scapy.packet.Packet

aliastypes = [<class 'scapy.contrib.chdlc.SLARP'>, <class 'scapy.packet.Packet'>]
fields_desc = [<Field (SLARP).type>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>, <scapy.fields.ConditionalField object>]