summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-02-26 03:19:11 +0000
committerdlg <dlg@openbsd.org>2019-02-26 03:19:11 +0000
commitc79d129cedcba452ee31055da09c8aa4fb469e82 (patch)
tree09b8fcb0fa864192c76022caf538c8bb74705270
parentput the rx buffer at the end of the cluster. (diff)
downloadwireguard-openbsd-c79d129cedcba452ee31055da09c8aa4fb469e82.tar.xz
wireguard-openbsd-c79d129cedcba452ee31055da09c8aa4fb469e82.zip
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@
-rw-r--r--sys/sys/sockio.h11
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 */