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

Method stop_cb

scapy/sendrecv.py:1303–1307  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1301 sniff_sockets[close_pipe] = "control_socket" # type: ignore
1302
1303 def stop_cb():
1304 # type: () -> None
1305 if self.running and close_pipe:
1306 close_pipe.send(None)
1307 self.continue_sniff = False
1308 self.stop_cb = stop_cb
1309 else:
1310 # select is non blocking

Callers 1

stopMethod · 0.95

Calls 1

sendMethod · 0.45

Tested by

no test coverage detected