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

Method clear

scapy/automaton.py:236–240  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

234 return self.recv(n)
235
236 def clear(self):
237 # type: () -> None
238 if not self.closed:
239 while not self.empty():
240 self.recv()
241
242 def close(self):
243 # type: () -> None

Callers 9

unfilterMethod · 0.45
flushMethod · 0.45
_flush_inoutMethod · 0.45
disableMethod · 0.45
fuzzFunction · 0.45
recvMethod · 0.45
_reload_provsMethod · 0.45
__init__Method · 0.45
flushMethod · 0.45

Calls 2

emptyMethod · 0.95
recvMethod · 0.95

Tested by

no test coverage detected