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. CDPAddrRecordCDPAddrRecord fields ptype
1plen
Noneproto
Noneaddrlen
Noneaddr
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. CDPAddrRecordIPv4CDPAddrRecordIPv4 fields ptype
1plen
1proto
b'\xcc'addrlen
4addr
'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. CDPAddrRecordIPv6CDPAddrRecordIPv6 fields ptype
2plen
8proto
b'\xaa\xaa\x03\x00\x00\x00\x86\xdd'addrlen
16addr
'::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. CDPMsgCDPMsg fields type
Nonelen
Noneval
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. CDPMsgAddrCDPMsgAddr fields type
2len
Nonenaddr
Noneaddr
[]
- 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. CDPMsgCapabilitiesCDPMsgCapabilities fields type
4len
8cap
<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. CDPMsgDeviceIDCDPMsgDeviceID fields type
1len
Noneval
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. CDPMsgDuplexCDPMsgDuplex fields type
11len
5duplex
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. CDPMsgGenericCDPMsgGeneric fields type
Nonelen
Noneval
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. CDPMsgIPGatewayCDPMsgIPGateway fields type
7len
8defaultgw
'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. CDPMsgIPPrefixCDPMsgIPPrefix fields type
7len
9prefix
'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. CDPMsgMTUCDPMsgMTU fields type
17len
6mtu
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. CDPMsgMgmtAddrCDPMsgMgmtAddr fields type
22len
Nonenaddr
Noneaddr
[]
- 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. CDPMsgNativeVLANCDPMsgNativeVLAN fields type
10len
6vlan
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. CDPMsgPlatformCDPMsgPlatform fields type
6len
Noneval
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. CDPMsgPortIDCDPMsgPortID fields type
3len
Noneiface
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. CDPMsgPowerCDPMsgPower fields type
16len
6power
_CDPPowerField1337
- 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. CDPMsgProtoHelloCDPMsgProtoHello fields type
8len
32oui
12protocol_id
0data
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. CDPMsgSoftwareVersionCDPMsgSoftwareVersion fields type
5len
Noneval
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. CDPMsgTrustBitmapCDPMsgTrustBitmap fields type
18len
5trust_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. CDPMsgUnknown19CDPMsgUnknown19 fields type
25len
Noneval
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. CDPMsgUntrustedPortCoSCDPMsgUntrustedPortCoS fields type
19len
5untrusted_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. CDPMsgVTPMgmtDomainCDPMsgVTPMgmtDomain fields type
9len
Noneval
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. CDPMsgVoIPVLANQueryCDPMsgVoIPVLANQuery fields type
15len
Noneunknown1
0vlan
1unknown2
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. CDPMsgVoIPVLANReplyCDPMsgVoIPVLANReply fields type
14len
7status?
1vlan
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_HDRCDPv2_HDR fields vers
2ttl
180cksum
Nonemsg
[]