netsniff-ng mac80211: Print probe response frame
[netsniff-ng.git] / lookup.h
blob7cc2d3180d5d65ae4839374ff30dd6defe9e2c83
1 /*
2 * netsniff-ng - the packet sniffing beast
3 * Copyright 2009, 2010 Daniel Borkmann.
4 * Copyright 2014 Tobias Klauser
5 * Subject to the GPL, version 2.
6 */
8 #ifndef LOOKUP_H
9 #define LOOKUP_H
11 enum ports {
12 PORTS_UDP,
13 PORTS_TCP,
14 PORTS_ETHER,
15 PORTS_MAX,
18 extern void lookup_init_ports(enum ports which);
19 extern void lookup_cleanup_ports(enum ports which);
21 extern char *lookup_port_udp(unsigned int id);
22 extern char *lookup_port_tcp(unsigned int id);
23 extern char *lookup_ether_type(unsigned int id);
25 #endif /* LOOKUP_H */