/* * 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 */ alt='cgit logo'/> index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2015-08-05 10:04:05 +0300
committerMark Brown <broonie@kernel.org>2015-08-05 10:27:27 +0100
commit757fe8d514a9bab55156dfb2c4a03e56ba96a028 (patch)
tree1e68d2f7b08b1f169f678553dffb17db3c263a82
parent94e5c23d3c52f58f4051810a15aeacc085127ad1 (diff)
spi: spi-pxa2xx: Remove unused legacy null dma buffer and allocation for it
Remove null_dma_buf variable and extra allocation for it. It is not needed since commit 6356437e65c2 ("spi: spi-pxa2xx: remove legacy PXA DMA bits"). Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat