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

Method __init__

scapy/fields.py:3829–3833  ·  view source on GitHub ↗
(self, name, default, uuid_fmt=FORMAT_BE)

Source from the content-addressed store, hash-verified

3827 FORMATS = (FORMAT_BE, FORMAT_LE, FORMAT_REV)
3828
3829 def __init__(self, name, default, uuid_fmt=FORMAT_BE):
3830 # type: (str, Optional[int], int) -> None
3831 self.uuid_fmt = uuid_fmt
3832 self._check_uuid_fmt()
3833 Field.__init__(self, name, default, "16s")
3834
3835 def _check_uuid_fmt(self):
3836 # type: () -> None

Callers

nothing calls this directly

Calls 2

_check_uuid_fmtMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected