scapy.contrib.ife
IFE - ForCES Inter-FE LFB type
- author:
Alexander Aring, aring@mojatatu.com
- description:
This module provides Scapy layers for the IFE protocol.
- normative references:
RFC 8013 Forwarding and Control Element Separation (ForCES) Inter-FE Logical Functional Block (LFB) https://tools.ietf.org/html/rfc8013
- class scapy.contrib.ife.IFE(_pkt, /, *, mdlen=None, tlvs=[])[源代码]
基类:
PacketMain IFE Packet Class
- aliastypes
- class scapy.contrib.ife.IFETlv(_pkt, /, *, type=0, length=None, value=None)[源代码]
基类:
PacketParent Class interhit by all ForCES TLV strucutures
- 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 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VALUE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. IFETlvIFETlv fields type
0length
Nonevalue
MultipleTypeField(PadField, PadField, PadField)0
- class scapy.contrib.ife.IFETlvStr(_pkt, /, *, type=0, length=None, value=b'')[源代码]
基类:
IFETlvA IFE TLV with variable payload
- 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 | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | VALUE | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Fig. IFETlvStrIFETlvStr fields type
0length
Nonevalue
b''