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

Method any2i

scapy/fields.py:222–225  ·  view source on GitHub ↗

Try to understand the most input values possible and make an internal value from them

(self, pkt, x)

Source from the content-addressed store, hash-verified

220 return cast(M, x)
221
222 def any2i(self, pkt, x):
223 # type: (Optional[Packet], Any) -> Optional[I]
224 """Try to understand the most input values possible and make an internal value from them""" # noqa: E501
225 return self.h2i(pkt, x)
226
227 def i2repr(self, pkt, x):
228 # type: (Optional[Packet], I) -> str

Callers 14

__init__Method · 0.95
any2iMethod · 0.45
any2iMethod · 0.45
any2iMethod · 0.45
any2iMethod · 0.45
any2iMethod · 0.45
any2iMethod · 0.45
any2iMethod · 0.45
any2iMethod · 0.45
any2iMethod · 0.45
any2iMethod · 0.45
any2iMethod · 0.45

Calls 1

h2iMethod · 0.95

Tested by

no test coverage detected