scapy.contrib.chdlc

class scapy.contrib.chdlc.CHDLC

Bases: scapy.packet.Packet

aliastypes
fields_desc
CHDLC fields

address

ByteEnumField

15

control

ByteField

0

proto

XShortField

2048

payload_guess

Possible sublayers: SLARP, IP, IPv6, Dot3, STP

class scapy.contrib.chdlc.SLARP

Bases: scapy.packet.Packet

aliastypes
fields_desc
SLARP fields

type

IntEnumField

2

address

IPField (Cond)

'192.168.0.1'

mask

IPField (Cond)

'255.255.255.0'

unused

XShortField (Cond)

0

mysequence

IntField (Cond)

0

yoursequence

IntField (Cond)

0

reliability

XShortField (Cond)

65535