diff options
author | 1999-10-29 05:20:46 +0000 | |
---|---|---|
committer | 1999-10-29 05:20:46 +0000 | |
commit | c1bc2a22042380b19c14c23180c89ac12efbc60c (patch) | |
tree | 7dc68ea127a68edf25217f5ea511e80a069e7668 /sys | |
parent | Up the number of enc interfaces. (diff) | |
download | wireguard-openbsd-c1bc2a22042380b19c14c23180c89ac12efbc60c.tar.xz wireguard-openbsd-c1bc2a22042380b19c14c23180c89ac12efbc60c.zip |
New field in tdb, to be used with bridging.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/ip_ipsp.h | 3 | ||||
-rw-r--r-- | sys/netinet/ip_xform.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index 3b4cdcc6eea..62c6ad8b1a6 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.45 1999/10/29 02:10:02 angelos Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.46 1999/10/29 05:20:46 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -285,6 +285,7 @@ struct tdb /* tunnel descriptor block */ u_int16_t tdb_srcid_type; u_int16_t tdb_dstid_type; + caddr_t tdb_interface; struct flow *tdb_flow; /* Which flows use this SA */ struct tdb *tdb_bind_out; /* Outgoing SA to use */ diff --git a/sys/netinet/ip_xform.c b/sys/netinet/ip_xform.c index 69edca5a8c2..ef678278e62 100644 --- a/sys/netinet/ip_xform.c +++ b/sys/netinet/ip_xform.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_xform.c,v 1.3 1999/07/02 23:37:33 deraadt Exp $ */ +/* $OpenBSD: ip_xform.c,v 1.4 1999/10/29 05:20:46 angelos Exp $ */ /* * The authors of this code are John Ioannidis (ji@tla.org), @@ -57,7 +57,6 @@ #include <net/route.h> #include <net/netisr.h> #include <net/bpf.h> -#include <net/if_enc.h> #include <netinet/in.h> #include <netinet/in_systm.h> @@ -73,6 +72,7 @@ #include <netinet/ip_ipsp.h> #include <netinet/ip_esp.h> #include <net/pfkeyv2.h> +#include <net/if_enc.h> extern void des_ecb3_encrypt(caddr_t, caddr_t, caddr_t, caddr_t, caddr_t, int); extern void des_ecb_encrypt(caddr_t, caddr_t, caddr_t, int); |