diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2018-02-20 03:43:08 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2018-02-20 03:43:08 +0000 |
commit | e16fcaac94cd51c9513c2c3fd266939bf2b79bf0 (patch) | |
tree | f2b64248d8314b1355f9d73f4211ae692930c4cb /sys | |
parent | 12d3b0f08442e4c26347230bda0dddb495a151bb (diff) |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/sockio.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 */ |