From: dlg Date: Tue, 20 Feb 2018 03:43:07 +0000 (+0000) Subject: add ioctls to toggle partitioning a vnetid into a netid and flowid X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c9ef95c8a794d4b80ce15c9f7ef5417be68aa293;p=openbsd 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. --- 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 */