summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorDaniel Hartmeier <dhartmei@cvs.openbsd.org>2001-06-26 19:43:16 +0000
committerDaniel Hartmeier <dhartmei@cvs.openbsd.org>2001-06-26 19:43:16 +0000
commit04a10fb53b830b8e86bd8650451872831c55f4eb (patch)
tree82f644f128d2feb25163d86623994b9cc5e9994a /sys/net/pfvar.h
parentb82e290e218f6249a5b2aeae788ef47d965edb1b (diff)
add rule pointer and log option to states
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index 262ce4600ec..5daa870ae7c 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.16 2001/06/26 19:01:55 provos Exp $ */
+/* $OpenBSD: pfvar.h,v 1.17 2001/06/26 19:43:14 dhartmei Exp $ */
/*
* Copyright (c) 2001, Daniel Hartmeier
@@ -87,12 +87,14 @@ struct pf_state {
struct pf_state_host ext;
struct pf_state_peer src;
struct pf_state_peer dst;
+ struct pf_rule *rule;
u_int32_t creation;
u_int32_t expire;
u_int32_t packets;
u_int32_t bytes;
u_int8_t proto;
u_int8_t direction;
+ u_int8_t log;
};
struct pf_nat {