summaryrefslogtreecommitdiff
path: root/sys/net/pfvar.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2017-08-13 16:57:21 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2017-08-13 16:57:21 +0000
commitbb1e38058afa2943631754ca7d51b4396d2e8db3 (patch)
tree5a3fd8a2a59243fa7415a27ac2d512ec549cfe10 /sys/net/pfvar.h
parent971f0af04b3d5a256bbb76bf0b999833b90d4b4a (diff)
to change a state's state (that term is overloaded in pf, protocol state
like ESTABLISHED for tcp here), don't do it directly, but go through a newly introduced pf_set_protostate() ok bluhm benno
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r--sys/net/pfvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h
index a5b02a739f8..a5777e36cea 100644
--- a/sys/net/pfvar.h
+++ b/sys/net/pfvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfvar.h,v 1.462 2017/08/06 13:16:11 mpi Exp $ */
+/* $OpenBSD: pfvar.h,v 1.463 2017/08/13 16:57:20 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -76,6 +76,7 @@ enum { PF_CHANGE_NONE, PF_CHANGE_ADD_HEAD, PF_CHANGE_ADD_TAIL,
PF_CHANGE_REMOVE, PF_CHANGE_GET_TICKET };
enum { PF_GET_NONE, PF_GET_CLR_CNTR };
enum { PF_SK_WIRE, PF_SK_STACK, PF_SK_BOTH };
+enum { PF_PEER_SRC, PF_PEER_DST, PF_PEER_BOTH };
/*
* Note about PFTM_*: real indices into pf_rule.timeout[] come before