summaryrefslogtreecommitdiff
path: root/lookup.h
blob: 38161b6c175d33857bfbe9902a51432253ef0495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*
 * 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 */
tr>authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2016-10-21 14:47:42 +0100 committerMark Brown <broonie@kernel.org>2016-10-24 17:43:05 +0100 commit88f0e3a5e6ed674f485d3a09d53c2ead0000378d (patch) tree8214d62db45ab4ab9a54c475e0b91ea8d7ebdfa9 /drivers/usb/usbip/README parent1001354ca34179f3db924eb66672442a173147dc (diff)
regulator: arizona-ldo1: Set appropriate value for ramp_delay
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/usb/usbip/README')