Deleted Added
full compact
sockio.h (62587) sockio.h (78064)
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 62587 2000-07-04 16:35:15Z itojun $
34 * $FreeBSD: head/sys/sys/sockio.h 78064 2001-06-11 12:39:29Z ume $
35 */
36
37#ifndef _SYS_SOCKIO_H_
38#define _SYS_SOCKIO_H_
39
40#include <sys/ioccom.h>
41
42/* Socket ioctl's. */

--- 43 unchanged lines hidden (view full) ---

86#define SIOCSIFPHYS _IOW('i', 54, struct ifreq) /* set IF wire */
87#define SIOCSIFMEDIA _IOWR('i', 55, struct ifreq) /* set net media */
88#define SIOCGIFMEDIA _IOWR('i', 56, struct ifmediareq) /* get net media */
89
90#define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) /* set gif addres */
91#define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) /* get gif psrc addr */
92#define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) /* get gif pdst addr */
93#define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) /* delete gif addrs */
35 */
36
37#ifndef _SYS_SOCKIO_H_
38#define _SYS_SOCKIO_H_
39
40#include <sys/ioccom.h>
41
42/* Socket ioctl's. */

--- 43 unchanged lines hidden (view full) ---

86#define SIOCSIFPHYS _IOW('i', 54, struct ifreq) /* set IF wire */
87#define SIOCSIFMEDIA _IOWR('i', 55, struct ifreq) /* set net media */
88#define SIOCGIFMEDIA _IOWR('i', 56, struct ifmediareq) /* get net media */
89
90#define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq) /* set gif addres */
91#define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq) /* get gif psrc addr */
92#define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) /* get gif pdst addr */
93#define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) /* delete gif addrs */
94#define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) /* set gif addrs */
95#define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) /* get gif addrs */
94
95#define SIOCSIFGENERIC _IOW('i', 57, struct ifreq) /* generic IF set op */
96#define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq) /* generic IF get op */
97
98#define SIOCGIFSTATUS _IOWR('i', 59, struct ifstat) /* get IF status */
99#define SIOCSIFLLADDR _IOW('i', 60, struct ifreq) /* set link level addr */
100
101#endif /* !_SYS_SOCKIO_H_ */
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#endif /* !_SYS_SOCKIO_H_ */