/* * netsniff-ng - the packet sniffing beast * Copyright 2009, 2010 Daniel Borkmann. * Copyright 2014, 2015 Tobias Klauser * Subject to the GPL, version 2. */ #ifndef LOOKUP_H #define LOOKUP_H enum lookup_type { LT_PORTS_UDP, LT_PORTS_TCP, LT_ETHERTYPES, LT_OUI, LT_MAX, }; extern void lookup_init(enum lookup_type which); extern void lookup_cleanup(enum lookup_type which); extern const char *lookup_port_udp(unsigned int id); extern const char *lookup_port_tcp(unsigned int id); extern const char *lookup_ether_type(unsigned int id); extern const char *lookup_vendor(unsigned int id); static inline const char *lookup_vendor_str(unsigned int id) { return lookup_vendor(id) ? : "Unknown"; } #endif /* LOOKUP_H */ pan='2'>cgit logo index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2016-09-13 12:02:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2016-09-13 12:02:00 -0700
commit7c2c1144164c0a6fd91642909042862db907e053 (patch)
treefda8ad6fd5f087d71c1ecedb83ac479665368093
parent106f2e59ee3b89a2f93735f65499eae4e8d55abc (diff)
parentcbf2f8a99a2337894c3592c9ac2170e8c1f8f73f (diff)
Merge branch 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull EFI fixes from Ingo Molnar: "This contains a Xen fix, an arm64 fix and a race condition / robustization set of fixes related to ExitBootServices() usage and boundary conditions" * 'efi-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/efi: Use efi_exit_boot_services() efi/libstub: Use efi_exit_boot_services() in FDT efi/libstub: Introduce ExitBootServices helper efi/libstub: Allocate headspace in efi_get_memory_map() efi: Fix handling error value in fdt_find_uefi_params efi: Make for_each_efi_memory_desc_in_map() cope with running on Xen
Diffstat