scapy.data
Global variables and functions for handling external data sets.
- class scapy.data.ManufDA(_name: str = 'DADict', **kargs: Any)[source]
Bases:
DADict
[str
,Tuple
[str
,str
]]
- scapy.data.load_ethertypes(filename: Optional[str]) EtherDA [source]
“Parse /etc/ethertypes and return values as a dictionary. If unavailable, use the copy bundled with Scapy.
- scapy.data.load_manuf(filename: str) ManufDA [source]
Loads manuf file from Wireshark.
- Parameters:
filename – the file to load the manuf file from
- Returns:
a ManufDA filled object