aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/uapi.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-07-08 02:29:38 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2016-07-08 02:29:38 +0200
commitdc009781e0836fa1cb18df46ee7ac3b509738fed (patch)
tree37bb23da616c6997a9f735234172258caad7d247 /src/uapi.h
parentgo test: don't rely on undefined append behavior (diff)
downloadwireguard-monolithic-historical-dc009781e0836fa1cb18df46ee7ac3b509738fed.tar.xz
wireguard-monolithic-historical-dc009781e0836fa1cb18df46ee7ac3b509738fed.zip
persistent keepalive: add kernel mechanism
Diffstat (limited to 'src/uapi.h')
-rw-r--r--src/uapi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uapi.h b/src/uapi.h
index 21d4af1..6e3662f 100644
--- a/src/uapi.h
+++ b/src/uapi.h
@@ -98,6 +98,7 @@ struct wgpeer {
__u32 replace_ipmasks : 1; /* Set */
__u16 num_ipmasks; /* Get/Set */
+ __u16 persistent_keepalive_interval; /* Get/Set -- 0 = off, 0xffff = unset */
};
struct wgdevice {