summaryrefslogtreecommitdiff
path: root/lookup.h
blob: 7cc2d3180d5d65ae4839374ff30dd6defe9e2c83 (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
/*
 * netsniff-ng - the packet sniffing beast
 * Copyright 2009, 2010 Daniel Borkmann.
 * Copyright 2014 Tobias Klauser
 * Subject to the GPL, version 2.
 */

#ifndef LOOKUP_H
#define LOOKUP_H

enum ports {
	PORTS_UDP,
	PORTS_TCP,
	PORTS_ETHER,
	PORTS_MAX,
};

extern void lookup_init_ports(enum ports which);
extern void lookup_cleanup_ports(enum ports which);

extern char *lookup_port_udp(unsigned int id);
extern char *lookup_port_tcp(unsigned int id);
extern char *lookup_ether_type(unsigned int id);

#endif /* LOOKUP_H */
pt>
authorJisheng Zhang <jszhang@marvell.com>2016-09-06 15:37:39 +0800
committerJisheng Zhang <jszhang@marvell.com>2016-11-25 16:50:20 +0800
commitd289fcc888903102430dd7255f36c2d16f40ed91 (patch)
tree595f69acda0ed0e300743c6e45081d2fc547f2c8 /Documentation/i2c
parent1001354ca34179f3db924eb66672442a173147dc (diff)
ARM: dts: berlin2q-marvell-dmp: fix regulators' name
This patch fixes the following DTC warnings with W=1: Warning (unit_address_vs_reg): Node /regulators/regulator@0 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /regulators/regulator@1 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /regulators/regulator@2 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /regulators/regulator@3 has a unit name, but no reg property Warning (unit_address_vs_reg): Node /regulators/regulator@4 has a unit name, but no reg property Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Diffstat (limited to 'Documentation/i2c')