From 777f9dabc8a3b8c2a33f183ddfb80cddcb972a09 Mon Sep 17 00:00:00 2001 From: "Angelos D. Keromytis" Date: Fri, 28 Feb 1997 02:55:34 +0000 Subject: Added flags field in the TDB structure. --- sys/netinet/ip_ipsp.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/netinet/ip_ipsp.h b/sys/netinet/ip_ipsp.h index ca220baf5da..ef3efccae00 100644 --- a/sys/netinet/ip_ipsp.h +++ b/sys/netinet/ip_ipsp.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ip_ipsp.h,v 1.3 1997/02/24 14:06:42 niklas Exp $ */ +/* $OpenBSD: ip_ipsp.h,v 1.4 1997/02/28 02:55:33 angelos Exp $ */ /* * The author of this code is John Ioannidis, ji@tla.org, @@ -33,6 +33,8 @@ struct tdb /* tunnel descriptor block */ struct tdb *tdb_onext; /* next in output */ struct tdb *tdb_inext; /* next in input (prev!) */ u_long tdb_spi; /* SPI to use */ + u_long tdb_flags; /* Flags related to this TDB */ +#define TDBF_UNIQUE 0x0001 struct in_addr tdb_dst; /* dest address for this SPI */ struct ifnet *tdb_rcvif; /* related rcv encap interface */ struct xformsw *tdb_xform; /* transformation to use */ -- cgit v1.2.3