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

Method m2i

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

Source from the content-addressed store, hash-verified

840 return MACField.i2m(self, pkt, x)[::-1]
841
842 def m2i(self, pkt, x):
843 # type: (Optional[Packet], bytes) -> str
844 return MACField.m2i(self, pkt, x[::-1])
845
846
847class IPField(Field[Union[str, Net], bytes]):

Callers

nothing calls this directly

Calls 1

m2iMethod · 0.45

Tested by

no test coverage detected