diff options
author | 2001-06-25 23:02:17 +0000 | |
---|---|---|
committer | 2001-06-25 23:02:17 +0000 | |
commit | b9d38aaec7cb7a5f94d408fcef2db7d53f3be5f2 (patch) | |
tree | e3a1a9f96048845be9693026a47009641a3819ab /sys/net/if_pflog.h | |
parent | Enable interrupts during PCIIDE detect (diff) | |
download | wireguard-openbsd-b9d38aaec7cb7a5f94d408fcef2db7d53f3be5f2.tar.xz wireguard-openbsd-b9d38aaec7cb7a5f94d408fcef2db7d53f3be5f2.zip |
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_ */ |