make: add mrproper and help targets
[netsniff-ng.git] / src / oui.h
blob2bd9b566bd3093c86b67a8fa2c028a69b3385b19
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * By Daniel Borkmann <daniel@netsniff-ng.org>
4 * Copyright 2012 Daniel Borkmann.
5 * Subject to the GPL, version 2.
6 */
8 #ifndef OUI_H
9 #define OUI_H
11 extern const char *lookup_vendor(unsigned int id);
12 extern void dissector_init_oui(void);
13 extern void dissector_cleanup_oui(void);
15 static inline const char *lookup_vendor_str(unsigned int id)
17 const char *ret = lookup_vendor(id);
18 return (ret ? : "Unknown");
21 #endif /* OUI_H */