From e16fcaac94cd51c9513c2c3fd266939bf2b79bf0 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Tue, 20 Feb 2018 03:43:08 +0000 Subject: add ioctls to toggle partitioning a vnetid into a netid and flowid this maps to key entropy in cisco tunnel terminology, and will be used in gre and egre to interoperate with their tunnels. --- sys/sys/sockio.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h index 9aa4fd25724..b0ec48ae57c 100644 --- a/sys/sys/sockio.h +++ b/sys/sys/sockio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sockio.h,v 1.74 2018/02/19 00:21:31 dlg Exp $ */ +/* $OpenBSD: sockio.h,v 1.75 2018/02/20 03:43:07 dlg Exp $ */ /* $NetBSD: sockio.h,v 1.5 1995/08/23 00:40:47 thorpej Exp $ */ /*- @@ -194,6 +194,9 @@ #define SIOCSLIFPHYDF _IOW('i', 193, struct ifreq) /* set tunnel df/nodf */ #define SIOCGLIFPHYDF _IOWR('i', 194, struct ifreq) /* set tunnel df/nodf */ +#define SIOCSVNETFLOWID _IOW('i', 195, struct ifreq) /* set vnet flowid */ +#define SIOCGVNETFLOWID _IOWR('i', 196, struct ifreq) /* get vnet flowid */ + #define SIOCSVH _IOWR('i', 245, struct ifreq) /* set carp param */ #define SIOCGVH _IOWR('i', 246, struct ifreq) /* get carp param */ -- cgit v1.2.3