diff options
author | 2001-06-26 15:33:00 +0000 | |
---|---|---|
committer | 2001-06-26 15:33:00 +0000 | |
commit | 99f1b1284fe01c0ba17588d69ca61c0d78cf43ab (patch) | |
tree | 43a5ec9cbcb7d7c36dbf24119819045c1239c6a1 /sys/net/if_pflog.h | |
parent | Install kerberosV includefiles (diff) | |
download | wireguard-openbsd-99f1b1284fe01c0ba17588d69ca61c0d78cf43ab.tar.xz wireguard-openbsd-99f1b1284fe01c0ba17588d69ca61c0d78cf43ab.zip |
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/if_pflog.h')
-rw-r--r-- | sys/net/if_pflog.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/net/if_pflog.h b/sys/net/if_pflog.h index 577ee1c340d..3cb7f7ff346 100644 --- a/sys/net/if_pflog.h +++ b/sys/net/if_pflog.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pflog.h,v 1.2 2001/06/25 23:02:19 provos Exp $ */ +/* $OpenBSD: if_pflog.h,v 1.3 2001/06/26 15:33:00 provos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -43,9 +43,10 @@ struct pflog_softc { struct pfloghdr { u_int32_t af; char ifname[IFNAMSIZ]; - int rnr; - short dir; - short action; + u_short rnr; + u_short reason; + u_short action; + u_short dir; }; #define PFLOG_HDRLEN sizeof(struct pfloghdr) |