aboutsummaryrefslogtreecommitdiffstats
path: root/packet-pflog.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-02-05 00:43:59 +0000
committerGuy Harris <guy@alum.mit.edu>2002-02-05 00:43:59 +0000
commit007a32e8b1ca9df9b8854d071090d2c0b8985612 (patch)
tree2c623cbb91b7f679999a76647353461efb400bc8 /packet-pflog.h
parent70e640d2d886920c3a90306208d8b45aaf9e8a28 (diff)
Clean up a bunch of things:
use value_string tables and make numerical fields numeric, with associated value_string tables, rather than strings; make a signed integer field signed, which means we don't have to format the item for it in the protocol tree ourselves; give it a long protocol name, and make the short protocol name all-caps, as with other short protocol names. svn path=/trunk/; revision=4696
Diffstat (limited to 'packet-pflog.h')
-rw-r--r--packet-pflog.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/packet-pflog.h b/packet-pflog.h
index 6d8f8b205c..5b7ed7a486 100644
--- a/packet-pflog.h
+++ b/packet-pflog.h
@@ -1,6 +1,6 @@
/* packet-pflog.h
*
- * $Id: packet-pflog.h,v 1.2 2002/01/29 10:44:43 guy Exp $
+ * $Id: packet-pflog.h,v 1.3 2002/02/05 00:43:59 guy Exp $
*
* Copyright 2001 Mike Frantzen
* All rights reserved.
@@ -42,18 +42,6 @@ struct pfloghdr {
};
#define PFLOG_HDRLEN sizeof(struct pfloghdr)
-/* Named reasons */
-#define PFRES_NAMES { \
- "match", \
- "bad-offset", \
- "fragment", \
- "short", \
- "normalize", \
- "memory", \
- NULL \
-}
-#define PFRES_MAX 6
-
/* Actions */
#define PF_PASS 0
#define PF_DROP 1