sockio.h (155224) | sockio.h (159781) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)sockio.h 8.1 (Berkeley) 3/28/94 | 1/*- 2 * Copyright (c) 1982, 1986, 1990, 1993, 1994 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 13 unchanged lines hidden (view full) --- 22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 27 * SUCH DAMAGE. 28 * 29 * @(#)sockio.h 8.1 (Berkeley) 3/28/94 |
30 * $FreeBSD: head/sys/sys/sockio.h 155224 2006-02-02 19:58:37Z ps $ | 30 * $FreeBSD: head/sys/sys/sockio.h 159781 2006-06-19 22:20:45Z mlaier $ |
31 */ 32 33#ifndef _SYS_SOCKIO_H_ 34#define _SYS_SOCKIO_H_ 35 36#include <sys/ioccom.h> 37 38/* Socket ioctl's. */ --- 73 unchanged lines hidden (view full) --- 112 parameters */ 113#define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) /* get driver-specific 114 parameters */ 115 116#define SIOCIFCREATE _IOWR('i', 122, struct ifreq) /* create clone if */ 117#define SIOCIFDESTROY _IOW('i', 121, struct ifreq) /* destroy clone if */ 118#define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) /* get cloners */ 119 | 31 */ 32 33#ifndef _SYS_SOCKIO_H_ 34#define _SYS_SOCKIO_H_ 35 36#include <sys/ioccom.h> 37 38/* Socket ioctl's. */ --- 73 unchanged lines hidden (view full) --- 112 parameters */ 113#define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) /* get driver-specific 114 parameters */ 115 116#define SIOCIFCREATE _IOWR('i', 122, struct ifreq) /* create clone if */ 117#define SIOCIFDESTROY _IOW('i', 121, struct ifreq) /* destroy clone if */ 118#define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) /* get cloners */ 119 |
120#define SIOCAIFGROUP _IOW('i', 135, struct ifgroupreq) /* add an ifgroup */ 121#define SIOCGIFGROUP _IOWR('i', 136, struct ifgroupreq) /* get ifgroups */ 122#define SIOCDIFGROUP _IOW('i', 137, struct ifgroupreq) /* delete ifgroup */ 123#define SIOCGIFGMEMB _IOWR('i', 138, struct ifgroupreq) /* get members */ 124 |
|
120#endif /* !_SYS_SOCKIO_H_ */ | 125#endif /* !_SYS_SOCKIO_H_ */ |