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

Method __init__

scapy/layers/inet6.py:3534–3536  ·  view source on GitHub ↗
(self, family=socket.AF_INET6, type=socket.SOCK_STREAM, proto=0, **args)

Source from the content-addressed store, hash-verified

3532 cls = None
3533
3534 def __init__(self, family=socket.AF_INET6, type=socket.SOCK_STREAM, proto=0, **args): # noqa: E501
3535 SuperSocket.__init__(self, family, type, proto)
3536 self.worker = self.cls(**args)
3537
3538 def set(self, dst, src=None):
3539 _IPv6inIP.src = src

Callers 7

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected