From: chris Date: Wed, 26 Apr 2000 18:37:37 +0000 (+0000) Subject: SIOCSIFGENERIC/SIOCGIFGENERIC X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3114f625e9331e97f6b1f6d267fad32191fb3d55;p=openbsd SIOCSIFGENERIC/SIOCGIFGENERIC --- diff --git a/sys/sys/sockio.h b/sys/sys/sockio.h index d4a3721aa76..a5b269608a2 100644 --- a/sys/sys/sockio.h +++ b/sys/sys/sockio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sockio.h,v 1.15 2000/01/25 22:06:28 jason Exp $ */ +/* $OpenBSD: sockio.h,v 1.16 2000/04/26 18:37:37 chris Exp $ */ /* $NetBSD: sockio.h,v 1.5 1995/08/23 00:40:47 thorpej Exp $ */ /*- @@ -89,6 +89,9 @@ #define SIOCSIFMEDIA _IOWR('i', 53, struct ifreq) /* set net media */ #define SIOCGIFMEDIA _IOWR('i', 54, struct ifmediareq) /* get net media */ +#define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) /* generic IF set op */ +#define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) /* generic IF get op */ + #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) /* set gif addres */ #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) /* get gif psrc addr */ #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) /* get gif pdst addr */