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

Method is_valid

scapy/interfaces.py:168–172  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

166 return hash(self.network_name)
167
168 def is_valid(self):
169 # type: () -> bool
170 if self.dummy:
171 return False
172 return self.provider._is_valid(self)
173
174 def l2socket(self):
175 # type: () -> Type[scapy.supersocket.SuperSocket]

Callers 6

ScopedIPFunction · 0.80
showMethod · 0.80
get_working_ifFunction · 0.80
get_working_ifacesFunction · 0.80
__init__Method · 0.80
nbns_resolveFunction · 0.80

Calls 1

_is_validMethod · 0.45

Tested by

no test coverage detected