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

Method i2repr

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

Source from the content-addressed store, hash-verified

821 return cast(str, x)
822
823 def i2repr(self, pkt, x):
824 # type: (Optional[Packet], Optional[str]) -> str
825 x = self.i2h(pkt, x)
826 if x is None:
827 return repr(x)
828 if self in conf.resolve:
829 x = conf.manufdb._resolve_MAC(x)
830 return x
831
832 def randval(self):
833 # type: () -> RandMAC

Callers

nothing calls this directly

Calls 2

_resolve_MACMethod · 0.80
i2hMethod · 0.45

Tested by

no test coverage detected