all: import netsniff-ng 0.5.8-rc0 source
[netsniff-ng.git] / oui.h
blob4ad616e0c2df9f31c8e3e08ddfc2d45cda6705fa
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * Copyright 2012 Daniel Borkmann.
4 * Subject to the GPL, version 2.
5 */
7 #ifndef OUI_H
8 #define OUI_H
10 extern const char *lookup_vendor(unsigned int id);
11 extern void dissector_init_oui(void);
12 extern void dissector_cleanup_oui(void);
14 static inline const char *lookup_vendor_str(unsigned int id)
16 return lookup_vendor(id) ? : "Unknown";
19 #endif /* OUI_H */