ioctl routines take u_long's as commnands.
authorChris G. Demetriou <cgd@ucbvax.Berkeley.EDU>
Fri, 10 Feb 1995 02:34:45 +0000 (18:34 -0800)
committerChris G. Demetriou <cgd@ucbvax.Berkeley.EDU>
Fri, 10 Feb 1995 02:34:45 +0000 (18:34 -0800)
SCCS-vsn: sys/net/if.h 8.3

usr/src/sys/net/if.h

index 20c8e88..dc82e4e 100644 (file)
@@ -4,7 +4,7 @@
  *
  * %sccs.include.redist.c%
  *
  *
  * %sccs.include.redist.c%
  *
- *     @(#)if.h        8.2 (Berkeley) %G%
+ *     @(#)if.h        8.3 (Berkeley) %G%
  */
 
 /*
  */
 
 /*
@@ -98,7 +98,7 @@ struct ifnet {
        int     (*if_done)              /* output complete routine */
                __P((struct ifnet *));  /* (XXX not used; fake prototype) */
        int     (*if_ioctl)             /* ioctl routine */
        int     (*if_done)              /* output complete routine */
                __P((struct ifnet *));  /* (XXX not used; fake prototype) */
        int     (*if_ioctl)             /* ioctl routine */
-               __P((struct ifnet *, int, caddr_t));
+               __P((struct ifnet *, u_long, caddr_t));
        int     (*if_reset)     
                __P((int));             /* new autoconfig will permit removal */
        int     (*if_watchdog)          /* timer routine */
        int     (*if_reset)     
                __P((int));             /* new autoconfig will permit removal */
        int     (*if_watchdog)          /* timer routine */