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

Method ifdel

scapy/route.py:149–157  ·  view source on GitHub ↗
(self, iff)

Source from the content-addressed store, hash-verified

147 conf.netcache.flush()
148
149 def ifdel(self, iff):
150 # type: (str) -> None
151 self.invalidate_cache()
152 new_routes = []
153 for rt in self.routes:
154 if iff == rt[3]:
155 continue
156 new_routes.append(rt)
157 self.routes = new_routes
158
159 def ifadd(self, iff, addr):
160 # type: (str, str) -> None

Callers

nothing calls this directly

Calls 2

invalidate_cacheMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected