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

Method m2i

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

Source from the content-addressed store, hash-verified

811 return y
812
813 def m2i(self, pkt, x):
814 # type: (Optional[Packet], bytes) -> str
815 return str2mac(x)
816
817 def any2i(self, pkt, x):
818 # type: (Optional[Packet], Any) -> str

Callers 1

any2iMethod · 0.95

Calls 1

str2macFunction · 0.90

Tested by

no test coverage detected