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

Method __init__

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

Source from the content-addressed store, hash-verified

1067
1068class ThreeBytesField(Field[int, int]):
1069 def __init__(self, name, default):
1070 # type: (str, int) -> None
1071 Field.__init__(self, name, default, "!I")
1072
1073 def addfield(self, pkt, s, val):
1074 # type: (Packet, bytes, Optional[int]) -> bytes

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected