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

Method __init__

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

Source from the content-addressed store, hash-verified

1029 bindings = {} # type: Dict[Type[Packet], Tuple[str, Any]]
1030
1031 def __init__(self, name, default):
1032 # type: (str, str) -> None
1033 IP6Field.__init__(self, name, None)
1034 DestField.__init__(self, name, default)
1035
1036 def i2m(self, pkt, x):
1037 # type: (Optional[Packet], Optional[Union[str, Net6]]) -> bytes

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected