diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2001-06-26 15:33:02 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2001-06-26 15:33:02 +0000 |
commit | 4caad1f7aa33ff46eab337c8bc199faa7646de2f (patch) | |
tree | f8155957edc4d0e4f4eaf799bce7f6bacef6ef0b /sys/net/pfvar.h | |
parent | 4302697f34435cad47ded1d77367748a618f7227 (diff) |
add a subreason to the link header to allow us to determine why a packet was
dropped or passed. from discussion with theo and me.
Diffstat (limited to 'sys/net/pfvar.h')
-rw-r--r-- | sys/net/pfvar.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/net/pfvar.h b/sys/net/pfvar.h index f420dbcee4d..7fe4d629a17 100644 --- a/sys/net/pfvar.h +++ b/sys/net/pfvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfvar.h,v 1.13 2001/06/26 04:17:11 frantzen Exp $ */ +/* $OpenBSD: pfvar.h,v 1.14 2001/06/26 15:33:01 provos Exp $ */ /* * Copyright (c) 2001, Daniel Hartmeier @@ -187,6 +187,8 @@ struct pfioc_if { #define DIOCSETSTATUSIF _IOWR('D', 20, struct pfioc_if) #define DIOCGETSTATUS _IOWR('D', 21, struct pf_status) +/* Reasons code for passing/dropping a packet */ +#define PFRES_MATCH 0 /* Explicit match of a rule */ #ifdef _KERNEL |