Put SIOCGETVIFCNT and SIOCGETSGCNT in group `u'. This is consistent with

other systems' integration of Multicast release 3.5 and fixes the ENXIO
that these controls used to produce.
This commit is contained in:
thorpej 1995-08-23 00:40:47 +00:00
parent 1f3a168f04
commit 5194080841

View File

@ -1,4 +1,4 @@
/* $NetBSD: sockio.h,v 1.4 1995/05/31 21:51:23 mycroft Exp $ */ /* $NetBSD: sockio.h,v 1.5 1995/08/23 00:40:47 thorpej Exp $ */
/*- /*-
* Copyright (c) 1982, 1986, 1990, 1993, 1994 * Copyright (c) 1982, 1986, 1990, 1993, 1994
@ -75,8 +75,8 @@
#define SIOCADDMULTI _IOW('i', 49, struct ifreq) /* add m'cast addr */ #define SIOCADDMULTI _IOW('i', 49, struct ifreq) /* add m'cast addr */
#define SIOCDELMULTI _IOW('i', 50, struct ifreq) /* del m'cast addr */ #define SIOCDELMULTI _IOW('i', 50, struct ifreq) /* del m'cast addr */
#define SIOCGETVIFCNT _IOWR('i', 51, struct sioc_vif_req)/* vif pkt cnt */ #define SIOCGETVIFCNT _IOWR('u', 51, struct sioc_vif_req)/* vif pkt cnt */
#define SIOCGETSGCNT _IOWR('i', 52, struct sioc_sg_req) /* sg pkt cnt */ #define SIOCGETSGCNT _IOWR('u', 52, struct sioc_sg_req) /* sg pkt cnt */
#define SIOCSIFMTU _IOW('i', 127, struct ifreq) /* set ifnet mtu */ #define SIOCSIFMTU _IOW('i', 127, struct ifreq) /* set ifnet mtu */
#define SIOCGIFMTU _IOWR('i', 126, struct ifreq) /* get ifnet mtu */ #define SIOCGIFMTU _IOWR('i', 126, struct ifreq) /* get ifnet mtu */