MCPcopy Create free account
hub / github.com/secdev/scapy / __init__

Method __init__

scapy/layers/inet6.py:885–887  ·  view source on GitHub ↗
(self, name, default, cls, curpos, *args, **kargs)

Source from the content-addressed store, hash-verified

883 __slots__ = ["curpos"]
884
885 def __init__(self, name, default, cls, curpos, *args, **kargs):
886 self.curpos = curpos
887 PacketListField.__init__(self, name, default, cls, *args, **kargs)
888
889 def i2len(self, pkt, i):
890 return len(self.i2m(pkt, i))

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected