diff options
author | Niels Provos <provos@cvs.openbsd.org> | 2001-06-25 23:02:21 +0000 |
---|---|---|
committer | Niels Provos <provos@cvs.openbsd.org> | 2001-06-25 23:02:21 +0000 |
commit | 991bda7988c0af22aa5f9762c24f0b95e11bc486 (patch) | |
tree | 56bf1e0c4c85364cf30d1068889ecbe2ec477736 /sys/net/if_pflog.h | |
parent | 7c69cf6866bd05c89faae322d335b26ec28db076 (diff) |
extend the logging via a new link header type. export interface, direction,
action and rule nr.
Diffstat (limited to 'sys/net/if_pflog.h')
-rw-r--r-- | sys/net/if_pflog.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/net/if_pflog.h b/sys/net/if_pflog.h index 48cfd11a678..577ee1c340d 100644 --- a/sys/net/if_pflog.h +++ b/sys/net/if_pflog.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pflog.h,v 1.1 2001/06/25 20:48:17 provos Exp $ */ +/* $OpenBSD: if_pflog.h,v 1.2 2001/06/25 23:02:19 provos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), * Angelos D. Keromytis (kermit@csd.uch.gr) and @@ -36,15 +36,19 @@ #ifndef _NET_IF_PFLOG_H_ #define _NET_IF_PFLOG_H_ -#define PFLOG_HDRLEN 4 - struct pflog_softc { struct ifnet sc_if; /* the interface */ }; struct pfloghdr { u_int32_t af; + char ifname[IFNAMSIZ]; + int rnr; + short dir; + short action; }; +#define PFLOG_HDRLEN sizeof(struct pfloghdr) + extern struct pflog_softc pflogif[]; #endif /* _NET_IF_ENC_H_ */ |