MCPcopy Create free account
hub / github.com/secdev/scapy / LEMACField

Class LEMACField

scapy/fields.py:837–844  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

835
836
837class LEMACField(MACField):
838 def i2m(self, pkt, x):
839 # type: (Optional[Packet], Optional[str]) -> bytes
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]):

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…