summaryrefslogtreecommitdiff
path: root/lookup.h
diff options
context:
space:
mode:
Diffstat (limited to 'lookup.h')
-rw-r--r--lookup.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lookup.h b/lookup.h
index 7cc2d31..50a4d86 100644
--- a/lookup.h
+++ b/lookup.h
@@ -1,22 +1,22 @@
/*
* netsniff-ng - the packet sniffing beast
* Copyright 2009, 2010 Daniel Borkmann.
- * Copyright 2014 Tobias Klauser
+ * Copyright 2014, 2015 Tobias Klauser
* Subject to the GPL, version 2.
*/
#ifndef LOOKUP_H
#define LOOKUP_H
-enum ports {
- PORTS_UDP,
- PORTS_TCP,
- PORTS_ETHER,
- PORTS_MAX,
+enum lookup_type {
+ LT_PORTS_UDP,
+ LT_PORTS_TCP,
+ LT_ETHERTYPES,
+ LT_MAX,
};
-extern void lookup_init_ports(enum ports which);
-extern void lookup_cleanup_ports(enum ports which);
+extern void lookup_init(enum lookup_type which);
+extern void lookup_cleanup(enum lookup_type which);
extern char *lookup_port_udp(unsigned int id);
extern char *lookup_port_tcp(unsigned int id);