scapy.contrib.cdp
Cisco Discovery Protocol (CDP) extension for Scapy
- class scapy.contrib.cdp.CDPAddrRecord(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PTYPE | PLEN | PROTO | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDRLEN | ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPAddrRecord
CDPAddrRecord fields ptype
1
plen
None
proto
None
addrlen
None
addr
None
- class scapy.contrib.cdp.CDPAddrRecordIPv4(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPAddrRecord
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PTYPE | PLEN | PROTO | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDRLEN | ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPAddrRecordIPv4
CDPAddrRecordIPv4 fields ptype
1
plen
1
proto
b'\xcc'
addrlen
4
addr
'0.0.0.0'
- class scapy.contrib.cdp.CDPAddrRecordIPv6(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPAddrRecord
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PTYPE | PLEN | PROTO | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDRLEN | ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | + + | | + + | | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPAddrRecordIPv6
CDPAddrRecordIPv6 fields ptype
2
plen
8
proto
b'\xaa\xaa\x03\x00\x00\x00\x86\xdd'
addrlen
16
addr
'::1'
- class scapy.contrib.cdp.CDPMsg(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsg
CDPMsg fields type
None
len
None
val
b''
- class scapy.contrib.cdp.CDPMsgAddr(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgAddr
CDPMsgAddr fields type
2
len
None
naddr
None
addr
[]
- class scapy.contrib.cdp.CDPMsgCapabilities(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CAP | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgCapabilities
CDPMsgCapabilities fields type
4
len
8
cap
<Flag 0 ()>
- class scapy.contrib.cdp.CDPMsgDeviceID(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgDeviceID
CDPMsgDeviceID fields type
1
len
None
val
b''
- class scapy.contrib.cdp.CDPMsgDuplex(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DUPLEX | +-+-+-+-+-+-+-+-+ Fig. CDPMsgDuplex
CDPMsgDuplex fields type
11
len
5
duplex
0
- class scapy.contrib.cdp.CDPMsgGeneric(*args: Any, **kargs: Any)[source]
Bases:
scapy.packet.Packet
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgGeneric
CDPMsgGeneric fields type
None
len
None
val
b''
- class scapy.contrib.cdp.CDPMsgIPGateway(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | DEFAULTGW | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgIPGateway
CDPMsgIPGateway fields type
7
len
8
defaultgw
'192.168.0.1'
- class scapy.contrib.cdp.CDPMsgIPPrefix(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PREFIX | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PLEN | +-+-+-+-+-+-+-+-+ Fig. CDPMsgIPPrefix
CDPMsgIPPrefix fields type
7
len
9
prefix
'192.168.0.1'
plen
24
- class scapy.contrib.cdp.CDPMsgMTU(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MTU | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgMTU
CDPMsgMTU fields type
17
len
6
mtu
1500
- class scapy.contrib.cdp.CDPMsgMgmtAddr(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgAddr
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | NADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ADDR | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgMgmtAddr
CDPMsgMgmtAddr fields type
22
len
None
naddr
None
addr
[]
- class scapy.contrib.cdp.CDPMsgNativeVLAN(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VLAN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgNativeVLAN
CDPMsgNativeVLAN fields type
10
len
6
vlan
1
- class scapy.contrib.cdp.CDPMsgPlatform(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgPlatform
CDPMsgPlatform fields type
6
len
None
val
b''
- class scapy.contrib.cdp.CDPMsgPortID(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | IFACE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgPortID
CDPMsgPortID fields type
3
len
None
iface
b'Port 1'
- class scapy.contrib.cdp.CDPMsgPower(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | POWER | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgPower
CDPMsgPower fields type
16
len
6
power
_CDPPowerField
1337
- class scapy.contrib.cdp.CDPMsgProtoHello(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | OUI | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | PROTOCOL ID | DATA | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgProtoHello
CDPMsgProtoHello fields type
8
len
32
oui
12
protocol_id
0
data
b''
- class scapy.contrib.cdp.CDPMsgSoftwareVersion(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgSoftwareVersion
CDPMsgSoftwareVersion fields type
5
len
None
val
b''
- class scapy.contrib.cdp.CDPMsgTrustBitmap(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TRUST BITMAP | +-+-+-+-+-+-+-+-+ Fig. CDPMsgTrustBitmap
CDPMsgTrustBitmap fields type
18
len
5
trust_bitmap
0
- class scapy.contrib.cdp.CDPMsgUnknown19(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgUnknown19
CDPMsgUnknown19 fields type
25
len
None
val
b''
- class scapy.contrib.cdp.CDPMsgUntrustedPortCoS(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ |UNTRUSTED PORT | +-+-+-+-+-+-+-+-+ Fig. CDPMsgUntrustedPortCoS
CDPMsgUntrustedPortCoS fields type
19
len
5
untrusted_port_cos
0
- class scapy.contrib.cdp.CDPMsgVTPMgmtDomain(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VAL | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgVTPMgmtDomain
CDPMsgVTPMgmtDomain fields type
9
len
None
val
b''
- class scapy.contrib.cdp.CDPMsgVoIPVLANQuery(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | UNKNOWN1 | VLAN | UNKNOWN2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. CDPMsgVoIPVLANQuery
CDPMsgVoIPVLANQuery fields type
15
len
None
unknown1
0
vlan
1
unknown2
b''
- class scapy.contrib.cdp.CDPMsgVoIPVLANReply(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | TYPE | LEN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | STATUS? | VLAN | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPMsgVoIPVLANReply
CDPMsgVoIPVLANReply fields type
14
len
7
status?
1
vlan
1
- class scapy.contrib.cdp.CDPv2_HDR(*args: Any, **kargs: Any)[source]
Bases:
scapy.contrib.cdp._CDPChecksum
,scapy.contrib.cdp.CDPMsgGeneric
- aliastypes
- fields_desc
Display RFC-like schema
0 1 2 3 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VERS | TTL | CKSUM | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | MSG | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. CDPv2_HDR
CDPv2_HDR fields vers
2
ttl
180
cksum
None
msg
[]