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=[])[source]
Bases:
Packet
Main IFE Packet Class
- aliastypes
- class scapy.contrib.ife.IFETlv(_pkt, /, *, type=0, length=None, value=None)[source]
Bases:
Packet
Parent Class interhit by all ForCES TLV structures
- 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. IFETlv
IFETlv fields type
0
length
None
value
MultipleTypeField
(PadField, PadField, PadField)0
- class scapy.contrib.ife.IFETlvStr(_pkt, /, *, type=0, length=None, value=b'')[source]
Bases:
IFETlv
A 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. IFETlvStr
IFETlvStr fields type
0
length
None
value
b''