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

Method __init__

scapy/fields.py:799–801  ·  view source on GitHub ↗
(self, name, default)

Source from the content-addressed store, hash-verified

797
798class MACField(Field[Optional[str], bytes]):
799 def __init__(self, name, default):
800 # type: (str, Optional[Any]) -> None
801 Field.__init__(self, name, default, "6s")
802
803 def i2m(self, pkt, x):
804 # type: (Optional[Packet], Optional[str]) -> bytes

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected