scapy.contrib.esmc
- class scapy.contrib.esmc.EQLTLV(_pkt, /, *, type=2, length=20, enhancedSsmCode=255, clockIdentity=b'\x00\x00\x00\x00\x00\x00\x00\x00', flag=0, cascaded_eEEcs=1, cascaded_EEcs=0, reserved=b'\x00\x00\x00\x00\x00')[源代码]
基类:
ESMC- 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 | LENGTH |ENHANCEDSSMCODE| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | CLOCKIDENTITY | + + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | FLAG | CASCADED EEECS| CASCADED EECS | RESERVED | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. EQLTLVEQLTLV fields type
2length
20enhancedSsmCode
255clockIdentity
b'\x00\x00\x00\x00\x00\x00\x00\x00'flag
0cascaded_eEEcs
1cascaded_EEcs
0reserved
b'\x00\x00\x00\x00\x00'
- class scapy.contrib.esmc.ESMC(_pkt, /, *, ituOui=b'\x00\x19\xa7', ituSubtype=1, version=1, event=0, reserved1=0, reserved2=b'\x00\x00\x00')[源代码]
基类:
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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | ITUOUI | ITUSUBTYPE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |VERSION|E|RESER| RESERVED2 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | | +-+-+-+-+-+-+-+-+ Fig. ESMCESMC fields ituOui
b'\x00\x19\xa7'ituSubtype
1version
BitField(4 bits)1event
BitField(1 bit)0reserved1
BitField(3 bits)0reserved2
b'\x00\x00\x00'
- class scapy.contrib.esmc.QLTLV(_pkt, /, *, type=1, length=4, ssmCode=15)[源代码]
基类:
ESMC- 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 | LENGTH | SSMCODE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. QLTLVQLTLV fields type
1length
4ssmCode
15