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

Method close

scapy/arch/linux/__init__.py:403–410  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

401 return L2Socket.select(socks, remain=remain)
402
403 def close(self):
404 # type: () -> None
405 if self.closed:
406 return
407 super(L3PacketSocket, self).close()
408 for fd in self.send_socks.values():
409 if fd is not self:
410 fd.close()
411
412
413class VEthPair(object):

Callers

nothing calls this directly

Calls 2

closeMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected