MCPcopy Index your code
hub / github.com/secdev/scapy / IFE

Class IFE

scapy/contrib/ife.py:97–107  ·  view source on GitHub ↗

Main IFE Packet Class

Source from the content-addressed store, hash-verified

95
96
97class IFE(Packet):
98 """
99 Main IFE Packet Class
100 """
101 name = "IFE"
102
103 fields_desc = [
104 FieldLenField("mdlen", None, length_of="tlvs",
105 adjust=lambda pkt, x: x + 2),
106 PacketListField("tlvs", None, IFETlv),
107 ]
108
109
110IFESKBMark = functools.partial(IFETlv, type=IFE_META_SKBMARK)

Callers

nothing calls this directly

Calls 2

FieldLenFieldClass · 0.90
PacketListFieldClass · 0.90

Tested by

no test coverage detected