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 */
summary='commit info' class='commit-info'> authorLinus Torvalds <torvalds@linux-foundation.org>2016-07-08 09:06:52 -0700 committerLinus Torvalds <torvalds@linux-foundation.org>2016-07-08 09:06:52 -0700 commita017f583ec87d40b06eee6a6beeabe879c8113dd (patch) tree51056b0108404c1cb9508c4bf0dcd73249848022 /Documentation/arm parent369da7fc6d627aca19baec09ebe4486c69aef5f2 (diff)parentc76a093dc1415d364020b8b33f1e194ef4d26fd0 (diff)
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fixes from Ingo Molnar: "Three fixes: - A boot crash fix with certain configs - a MAINTAINERS entry update - Documentation typo fixes" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/Documentation: Fix various typos in Documentation/x86/ files x86/amd_nb: Fix boot crash on non-AMD systems MAINTAINERS: Update the Calgary IOMMU entry
Diffstat (limited to 'Documentation/arm')