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

Method i2len

scapy/fields.py:2112–2114  ·  view source on GitHub ↗
(self, pkt, val)

Source from the content-addressed store, hash-verified

2110 return 1
2111
2112 def i2len(self, pkt, val):
2113 # type: (Packet, List[Any]) -> int
2114 return int(sum(self.field.i2len(pkt, v) for v in val))
2115
2116 def any2i(self, pkt, x):
2117 # type: (Optional[Packet], List[Any]) -> List[Any]

Callers

nothing calls this directly

Calls 1

i2lenMethod · 0.45

Tested by

no test coverage detected