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

Method mode

scapy/arch/windows/__init__.py:389–394  ·  view source on GitHub ↗

Get the interface operation mode. Only available with Npcap.

(self)

Source from the content-addressed store, hash-verified

387 return plain_str(res.strip())
388
389 def mode(self):
390 # type: () -> str
391 """Get the interface operation mode.
392 Only available with Npcap."""
393 self._check_npcap_requirement()
394 return self._npcap_get("mode")
395
396 def ismonitor(self):
397 # type: () -> bool

Callers 2

ismonitorMethod · 0.95
new_cipherMethod · 0.80

Calls 2

_npcap_getMethod · 0.95

Tested by

no test coverage detected