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

Method any2i

scapy/fields.py:2927–2933  ·  view source on GitHub ↗
(self, pkt, x)

Source from the content-addressed store, hash-verified

2925 self.sz = self.size / 8. # type: ignore
2926
2927 def any2i(self, pkt, x):
2928 # type: (Optional[Packet], Any) -> Union[List[int], int]
2929 return _MultiEnumField[int].any2i(
2930 self, # type: ignore
2931 pkt,
2932 x
2933 )
2934
2935 def i2repr( # type: ignore
2936 self,

Callers

nothing calls this directly

Calls 1

any2iMethod · 0.45

Tested by

no test coverage detected