MCPcopy Create free account
hub / github.com/secdev/scapy / __init__

Method __init__

scapy/arch/windows/__init__.py:321–329  ·  view source on GitHub ↗
(self, provider, data=None)

Source from the content-addressed store, hash-verified

319 """A network interface of your local host"""
320
321 def __init__(self, provider, data=None):
322 # type: (WindowsInterfacesProvider, Optional[Dict[str, Any]]) -> None
323 self.cache_mode = None # type: Optional[bool]
324 self.ipv4_metric = None # type: Optional[int]
325 self.ipv6_metric = None # type: Optional[int]
326 self.nameservers = [] # type: List[str]
327 self.guid = None # type: Optional[str]
328 self.raw80211 = None # type: Optional[bool]
329 super(NetworkInterface_Win, self).__init__(provider, data)
330
331 def update(self, data):
332 # type: (Dict[str, Any]) -> None

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected