summaryrefslogtreecommitdiff
path: root/sbin/iked/types.h
diff options
context:
space:
mode:
authortobhe <tobhe@cvs.openbsd.org>2020-01-16 20:05:01 +0000
committertobhe <tobhe@cvs.openbsd.org>2020-01-16 20:05:01 +0000
commit842c2eac83b8087544a397fd94046d32b2666b1f (patch)
treef5be7348511948c113b9f74ca4583b73ec47a5d7 /sbin/iked/types.h
parenta92767892a377349fb7a3384bf5d65a7f8be806c (diff)
Add '-p' command line option which allows to configure
the UDP encapsulation port, similar to isakmpd's '-N' flag. Being able to change the UDP encapsulation port is useful in cases where ESP and UDP ports 500 and 4500 are blocked or rate limited. ok sthen@
Diffstat (limited to 'sbin/iked/types.h')
-rw-r--r--sbin/iked/types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/iked/types.h b/sbin/iked/types.h
index 94ceea80a64..e8881a74e9a 100644
--- a/sbin/iked/types.h
+++ b/sbin/iked/types.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: types.h,v 1.31 2020/01/14 22:28:29 tobhe Exp $ */
+/* $OpenBSD: types.h,v 1.32 2020/01/16 20:05:00 tobhe Exp $ */
/*
* Copyright (c) 2019 Tobias Heider <tobias.heider@stusta.de>
@@ -104,6 +104,7 @@ enum imsg_type {
IMSG_CTL_PASSIVE,
IMSG_CTL_MOBIKE,
IMSG_CTL_FRAGMENTATION,
+ IMSG_CTL_NATTPORT,
IMSG_COMPILE,
IMSG_UDP_SOCKET,
IMSG_PFKEY_SOCKET,