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

Method __init__

test/testsocket.py:141–148  ·  view source on GitHub ↗
(self,
                 basecls=None,  # type: Optional[Type[Packet]]
                 external_obj_pipe=None  # type: Optional[ObjectPipe[bytes]]
                 )

Source from the content-addressed store, hash-verified

139 """
140
141 def __init__(self,
142 basecls=None, # type: Optional[Type[Packet]]
143 external_obj_pipe=None # type: Optional[ObjectPipe[bytes]]
144 ):
145 # type: (...) -> None
146 super(UnstableSocket, self).__init__(basecls, external_obj_pipe)
147 self.no_error_for_x_rx_pkts = 10
148 self.no_error_for_x_tx_pkts = 10
149
150 def send(self, x):
151 # type: (Packet) -> int

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected