summaryrefslogtreecommitdiff
path: root/oui.h
blob: 4ad616e0c2df9f31c8e3e08ddfc2d45cda6705fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * netsniff-ng - the packet sniffing beast
 * Copyright 2012 Daniel Borkmann.
 * Subject to the GPL, version 2.
 */

#ifndef OUI_H
#define OUI_H

extern const char *lookup_vendor(unsigned int id);
extern void dissector_init_oui(void);
extern void dissector_cleanup_oui(void);

static inline const char *lookup_vendor_str(unsigned int id)
{
	return lookup_vendor(id) ? : "Unknown";
}

#endif /* OUI_H */
d'/>
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-25 17:00:01 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-25 17:00:01 -0400
commitd1228f4ff3e7c257788ba86ed02a22f5266552ea (patch)
treef240391db5ecfb8e4f524f991c6b7827715c304f
parent368907ddb2eda418e9fde6b772d1ed864666a296 (diff)
parent40d9c32525cba79130612650b1abc47c0c0f19a8 (diff)
Merge tag 'usb-serial-4.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus
Johan writes: USB-serial fixes for v4.8-rc4 Here are a couple of fixes for non-atomic allocations in write paths, and some new option device ids. Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat