summaryrefslogtreecommitdiff
path: root/share/man/man4/pflog.4
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2003-09-22 04:53:16 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2003-09-22 04:53:16 +0000
commit3118199749197836582db8a6f8a228879f204aa1 (patch)
treef9697781eb0fda884caa2cb20e93a8507e5a943f /share/man/man4/pflog.4
parent64e7cff8219e81e95dea1168c6af88c25ed3959e (diff)
sync pfloghdr with <net/if_pflog.h>;
ok henning@
Diffstat (limited to 'share/man/man4/pflog.4')
-rw-r--r--share/man/man4/pflog.418
1 files changed, 11 insertions, 7 deletions
diff --git a/share/man/man4/pflog.4 b/share/man/man4/pflog.4
index c82a6c449f9..eb7a72e94ca 100644
--- a/share/man/man4/pflog.4
+++ b/share/man/man4/pflog.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pflog.4,v 1.3 2003/06/06 10:29:41 jmc Exp $
+.\" $OpenBSD: pflog.4,v 1.4 2003/09/22 04:53:15 jmc Exp $
.\"
.\" Copyright (c) 2001 Tobias Weingartner
.\" All rights reserved.
@@ -54,12 +54,16 @@ This structure, defined in
looks like
.Bd -literal -offset indent
struct pfloghdr {
- u_int32_t af;
- char ifname[IFNAMSIZ];
- short rnr;
- u_short reason;
- u_short action;
- u_short dir;
+ u_int8_t length;
+ sa_family_t af;
+ u_int8_t action;
+ u_int8_t reason;
+ char ifname[IFNAMSIZ];
+ char ruleset[PF_RULESET_NAME_SIZE];
+ u_int32_t rulenr;
+ u_int32_t subrulenr;
+ u_int8_t dir;
+ u_int8_t pad[3];
};
.Ed
.Sh EXAMPLES