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

Method close

scapy/arch/libpcap.py:691–698  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

689 return L2pcapSocket.select(socks, remain=remain)
690
691 def close(self):
692 # type: () -> None
693 if self.closed:
694 return
695 super(L3pcapSocket, self).close()
696 for fd in self.send_socks.values():
697 if fd is not self:
698 fd.close()

Callers 6

get_ifFunction · 0.45
read_routesFunction · 0.45
_in6_getifaddrFunction · 0.45
in6_getifaddrFunction · 0.45
read_routes6Function · 0.45
closeMethod · 0.45

Calls 1

valuesMethod · 0.45

Tested by

no test coverage detected