aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/wg/if_wg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/wg/if_wg.h')
-rw-r--r--sys/dev/wg/if_wg.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/wg/if_wg.h b/sys/dev/wg/if_wg.h
index f00b7f676319..801eaf38141d 100644
--- a/sys/dev/wg/if_wg.h
+++ b/sys/dev/wg/if_wg.h
@@ -32,4 +32,10 @@ struct wg_data_io {
#define SIOCSWG _IOWR('i', 210, struct wg_data_io)
#define SIOCGWG _IOWR('i', 211, struct wg_data_io)
+
+/* Keep these in sync with wireguard-tools:containers.h */
+#define WGALLOWEDIP_REMOVE_ME 0x0001
+
+#define WGALLOWEDIP_VALID_FLAGS WGALLOWEDIP_REMOVE_ME
+
#endif /* __IF_WG_H__ */