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

Method any2i

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

Source from the content-addressed store, hash-verified

976 return inet_ntop(socket.AF_INET6, x)
977
978 def any2i(self, pkt, x):
979 # type: (Optional[Packet], Optional[str]) -> str
980 return self.h2i(pkt, x)
981
982 def i2repr(self, pkt, x):
983 # type: (Optional[Packet], Optional[Union[str, Net6]]) -> str

Callers

nothing calls this directly

Calls 1

h2iMethod · 0.95

Tested by

no test coverage detected