sockio.h (78104) | sockio.h (79103) |
---|---|
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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)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 --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)sockio.h 8.1 (Berkeley) 3/28/94 |
34 * $FreeBSD: head/sys/sys/sockio.h 78064 2001-06-11 12:39:29Z ume $ | 34 * $FreeBSD: head/sys/sys/sockio.h 79103 2001-07-02 20:49:25Z brooks $ |
35 */ 36 37#ifndef _SYS_SOCKIO_H_ 38#define _SYS_SOCKIO_H_ 39 40#include <sys/ioccom.h> 41 42/* Socket ioctl's. */ --- 52 unchanged lines hidden (view full) --- 95#define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) /* get gif addrs */ 96 97#define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) /* generic IF set op */ 98#define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) /* generic IF get op */ 99 100#define SIOCGIFSTATUS _IOWR('i', 59, struct ifstat) /* get IF status */ 101#define SIOCSIFLLADDR _IOW('i', 60, struct ifreq) /* set link level addr */ 102 | 35 */ 36 37#ifndef _SYS_SOCKIO_H_ 38#define _SYS_SOCKIO_H_ 39 40#include <sys/ioccom.h> 41 42/* Socket ioctl's. */ --- 52 unchanged lines hidden (view full) --- 95#define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) /* get gif addrs */ 96 97#define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) /* generic IF set op */ 98#define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) /* generic IF get op */ 99 100#define SIOCGIFSTATUS _IOWR('i', 59, struct ifstat) /* get IF status */ 101#define SIOCSIFLLADDR _IOW('i', 60, struct ifreq) /* set link level addr */ 102 |
103#define SIOCIFCREATE _IOWR('i', 122, struct ifreq) /* create clone if */ 104#define SIOCIFDESTROY _IOW('i', 121, struct ifreq) /* destroy clone if */ 105#define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq) /* get cloners */ 106 |
|
103#endif /* !_SYS_SOCKIO_H_ */ | 107#endif /* !_SYS_SOCKIO_H_ */ |