Add SIOCGDRVSPEC to get driver specific parameters in addition to the

current definition of SIOCSDRVSPEC.
This commit is contained in:
onoe 2000-03-13 05:56:47 +00:00
parent 52462864b7
commit c9af54bf14

View File

@ -1,4 +1,4 @@
/* $NetBSD: sockio.h,v 1.9 1999/07/01 08:13:00 itojun Exp $ */
/* $NetBSD: sockio.h,v 1.10 2000/03/13 05:56:47 onoe Exp $ */
/*-
* Copyright (c) 1982, 1986, 1990, 1993, 1994
@ -96,4 +96,6 @@
#define SIOCGIFASYNCMAP _IOWR('i', 124, struct ifreq) /* get ppp asyncmap */
#define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) /* set driver-specific
parameters */
#define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) /* get driver-specific
parameters */
#endif /* !_SYS_SOCKIO_H_ */