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

Method m2i

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

Source from the content-addressed store, hash-verified

972 return inet_pton(socket.AF_INET6, plain_str(x))
973
974 def m2i(self, pkt, x):
975 # type: (Optional[Packet], bytes) -> str
976 return inet_ntop(socket.AF_INET6, x)
977
978 def any2i(self, pkt, x):
979 # type: (Optional[Packet], Optional[str]) -> str

Callers

nothing calls this directly

Calls 1

inet_ntopFunction · 0.90

Tested by

no test coverage detected