summaryrefslogtreecommitdiffstats
path: root/sys/net/if_pflog.h
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2011-10-13 18:23:39 +0000
committerclaudio <claudio@openbsd.org>2011-10-13 18:23:39 +0000
commit97326e01c96e69168e367df5630a19ba8c336f1a (patch)
tree870cc72806275f81888b4d0c56bc437f2c869661 /sys/net/if_pflog.h
parentI'm sick and tired of people doing misalgned reads and writes to PCI config (diff)
downloadwireguard-openbsd-97326e01c96e69168e367df5630a19ba8c336f1a.tar.xz
wireguard-openbsd-97326e01c96e69168e367df5630a19ba8c336f1a.zip
Since the IPv6 madness is not enough introduce NAT64 -- which is actually
"af-to" a generic IP version translator for pf(4). Not everything perfect yet but lets fix these things in the tree. Insane amount of work done by sperreault@, mikeb@ and reyk@. Looked over by mcbride@ henning@ and myself at eurobsdcon. OK mcbride@ and general put it in from deraadt@
Diffstat (limited to 'sys/net/if_pflog.h')
-rw-r--r--sys/net/if_pflog.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/net/if_pflog.h b/sys/net/if_pflog.h
index 7b1c7bead0c..d3a81a7bbdb 100644
--- a/sys/net/if_pflog.h
+++ b/sys/net/if_pflog.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pflog.h,v 1.21 2011/09/28 17:15:45 bluhm Exp $ */
+/* $OpenBSD: if_pflog.h,v 1.22 2011/10/13 18:23:39 claudio Exp $ */
/*
* Copyright 2001 Niels Provos <provos@citi.umich.edu>
* All rights reserved.
@@ -54,7 +54,8 @@ struct pfloghdr {
pid_t rule_pid;
u_int8_t dir;
u_int8_t rewritten;
- u_int8_t pad[2];
+ sa_family_t naf;
+ u_int8_t pad[1];
struct pf_addr saddr;
struct pf_addr daddr;
u_int16_t sport;