summaryrefslogtreecommitdiff
path: root/sbin/isakmpd/sa.h
diff options
context:
space:
mode:
authorHakan Olsson <ho@cvs.openbsd.org>2004-06-21 13:09:02 +0000
committerHakan Olsson <ho@cvs.openbsd.org>2004-06-21 13:09:02 +0000
commit63cf77aa6917885fddf7312b2f76b6af33769a2e (patch)
tree9558b184ac55ebecc3ceb34e341ebbb4f15486ff /sbin/isakmpd/sa.h
parent4a25af8a7b516773e0486b9bccb885f6b7b78b88 (diff)
Port floating (500->4500) for p1 and p2 exchanges.
Diffstat (limited to 'sbin/isakmpd/sa.h')
-rw-r--r--sbin/isakmpd/sa.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sbin/isakmpd/sa.h b/sbin/isakmpd/sa.h
index ee3efd00559..1457d0ecc88 100644
--- a/sbin/isakmpd/sa.h
+++ b/sbin/isakmpd/sa.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sa.h,v 1.38 2004/06/20 15:20:07 ho Exp $ */
+/* $OpenBSD: sa.h,v 1.39 2004/06/21 13:09:00 ho Exp $ */
/* $EOM: sa.h,v 1.58 2000/10/10 12:39:01 provos Exp $ */
/*
@@ -236,6 +236,10 @@ struct sa {
/* This SA flag indicates if we should do DPD with the phase 1 SA peer. */
#define SA_FLAG_DPD 0x80
+/* NAT-T encapsulation state. Kept in isakmp_sa for the new p2 exchange. */
+#define SA_FLAG_NAT_T_ENABLE 0x100
+#define SA_FLAG_NAT_T_KEEPALIVE 0x200
+
extern void proto_free(struct proto * proto);
extern int sa_add_transform(struct sa *, struct payload *, int,
struct proto **);