diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2019-02-26 03:19:12 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2019-02-26 03:19:12 +0000 |
commit | bf1748f5e33fb46da1e9979dbec06523b66f5ab4 (patch) | |
tree | b3b3a43a5cdedbb2c2d44217128ef5c948df0cfc /sys | |
parent | 6acf8124a6bb7a5b63305b2abf80efda0ca97a40 (diff) |
add some generic ioctls for configuring mpls pseudowire parameters.
these will replace the monstor mpw ioctl, and will be used by an
upcoming mpls ip tunnel interface driver.
discussed with claudio@ at a2k19
ok mpi@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/sockio.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h index 5f584d54554..2293f199965 100644 --- a/sys/sys/sockio.h +++ b/sys/sys/sockio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sockio.h,v 1.79 2019/01/23 08:23:18 dlg Exp $ */ +/* $OpenBSD: sockio.h,v 1.80 2019/02/26 03:19:11 dlg Exp $ */ /* $NetBSD: sockio.h,v 1.5 1995/08/23 00:40:47 thorpej Exp $ */ /*- @@ -143,6 +143,7 @@ #define SIOCSSPPPPARAMS _IOW('i', 147, struct ifreq) /* set pppoe params */ #define SIOCGSPPPPARAMS _IOWR('i', 148, struct ifreq) /* get pppoe params */ +#define SIOCDELLABEL _IOW('i', 151, struct ifreq) /* del MPLS label */ #define SIOCGPWE3 _IOWR('i', 152, struct ifreq) /* get MPLS PWE3 cap */ #define SIOCSETLABEL _IOW('i', 153, struct ifreq) /* set MPLS label */ #define SIOCGETLABEL _IOW('i', 154, struct ifreq) /* get MPLS label */ @@ -205,6 +206,14 @@ #define SIOCSLIFPHYECN _IOW('i', 199, struct ifreq) /* set ecn copying */ #define SIOCGLIFPHYECN _IOWR('i', 200, struct ifreq) /* get ecn copying */ +#define SIOCSPWE3CTRLWORD _IOW('i', 220, struct ifreq) +#define SIOCGPWE3CTRLWORD _IOWR('i', 220, struct ifreq) +#define SIOCSPWE3FAT _IOW('i', 221, struct ifreq) +#define SIOCGPWE3FAT _IOWR('i', 221, struct ifreq) +#define SIOCSPWE3NEIGHBOR _IOW('i', 222, struct if_laddrreq) +#define SIOCGPWE3NEIGHBOR _IOWR('i', 222, struct if_laddrreq) +#define SIOCDPWE3NEIGHBOR _IOW('i', 222, struct ifreq) + #define SIOCSVH _IOWR('i', 245, struct ifreq) /* set carp param */ #define SIOCGVH _IOWR('i', 246, struct ifreq) /* get carp param */ |