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

Method flush

scapy/route6.py:53–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 self.cache = {} # type: Dict[str, Tuple[str, str, str]]
52
53 def flush(self):
54 # type: () -> None
55 self.invalidate_cache()
56 self.routes.clear()
57 self.ipv6_ifaces.clear()
58
59 def resync(self):
60 # type: () -> None

Callers 3

ifchangeMethod · 0.45
stopMethod · 0.45
ifchangeMethod · 0.45

Calls 2

invalidate_cacheMethod · 0.95
clearMethod · 0.45

Tested by

no test coverage detected