mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Arp sp00fing c0de
This commit is contained in:
@@ -111,4 +111,12 @@
|
||||
is some other error. */
|
||||
const char *MACPrefix2Corp(const u8 *prefix);
|
||||
|
||||
/* Takes a string and looks through the table for a vendor name which
|
||||
contains that string. Sets the first three bytes in mac_data and
|
||||
returns true for the first matching entry found. If no entries
|
||||
match, leaves mac_data untouched and returns false. Note that this
|
||||
is not particularly efficient and so should be rewriteen if it is
|
||||
called often */
|
||||
bool MACCorp2Prefix(const char *vendorstr, u8 *mac_data);
|
||||
|
||||
#endif /* MACLOOKUP_H */
|
||||
|
||||
Reference in New Issue
Block a user