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

Method __init__

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

Source from the content-addressed store, hash-verified

846
847class IPField(Field[Union[str, Net], bytes]):
848 def __init__(self, name, default):
849 # type: (str, Optional[str]) -> None
850 Field.__init__(self, name, default, "4s")
851
852 def h2i(self, pkt, x):
853 # type: (Optional[Packet], Union[AnyStr, List[AnyStr]]) -> Any

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected