summaryrefslogtreecommitdiff
path: root/sys/netinet/ip_ipsp.h
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>1997-02-28 02:55:34 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>1997-02-28 02:55:34 +0000
commit777f9dabc8a3b8c2a33f183ddfb80cddcb972a09 (patch)
tree3c72cb67e547117f2f983fa3cb9add8853dc1b20 /sys/netinet/ip_ipsp.h
parent0e803f16a1684164b7206b1641a422669877f03d (diff)
Added flags field in the TDB structure.
Diffstat (limited to 'sys/netinet/ip_ipsp.h')
-rw-r--r--sys/netinet/ip_ipsp.h4
1 files changed, 3 insertions, 1 deletions
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 */