Deleted Added
full compact
sockio.h (83625) sockio.h (85079)
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 83625 2001-09-18 17:42:25Z jlemon $
34 * $FreeBSD: head/sys/sys/sockio.h 85079 2001-10-17 19:40:44Z jlemon $
35 */
36
37#ifndef _SYS_SOCKIO_H_
38#define _SYS_SOCKIO_H_
39
40#include <sys/ioccom.h>
41
42/* Socket ioctl's. */

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

74#define SIOCDIFADDR _IOW('i', 25, struct ifreq) /* delete IF addr */
75#define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq)/* add/chg IF alias */
76
77#define SIOCALIFADDR _IOW('i', 27, struct if_laddrreq) /* add IF addr */
78#define SIOCGLIFADDR _IOWR('i', 28, struct if_laddrreq) /* get IF addr */
79#define SIOCDLIFADDR _IOW('i', 29, struct if_laddrreq) /* delete IF addr */
80#define SIOCSIFCAP _IOW('i', 30, struct ifreq) /* set IF features */
81#define SIOCGIFCAP _IOWR('i', 31, struct ifreq) /* get IF features */
35 */
36
37#ifndef _SYS_SOCKIO_H_
38#define _SYS_SOCKIO_H_
39
40#include <sys/ioccom.h>
41
42/* Socket ioctl's. */

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

74#define SIOCDIFADDR _IOW('i', 25, struct ifreq) /* delete IF addr */
75#define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq)/* add/chg IF alias */
76
77#define SIOCALIFADDR _IOW('i', 27, struct if_laddrreq) /* add IF addr */
78#define SIOCGLIFADDR _IOWR('i', 28, struct if_laddrreq) /* get IF addr */
79#define SIOCDLIFADDR _IOW('i', 29, struct if_laddrreq) /* delete IF addr */
80#define SIOCSIFCAP _IOW('i', 30, struct ifreq) /* set IF features */
81#define SIOCGIFCAP _IOWR('i', 31, struct ifreq) /* get IF features */
82#define SIOCGIFINDEX _IOWR('i', 32, struct ifreq) /* get IF index */
82
83#define SIOCADDMULTI _IOW('i', 49, struct ifreq) /* add m'cast addr */
84#define SIOCDELMULTI _IOW('i', 50, struct ifreq) /* del m'cast addr */
85#define SIOCGIFMTU _IOWR('i', 51, struct ifreq) /* get IF mtu */
86#define SIOCSIFMTU _IOW('i', 52, struct ifreq) /* set IF mtu */
87#define SIOCGIFPHYS _IOWR('i', 53, struct ifreq) /* get IF wire */
88#define SIOCSIFPHYS _IOW('i', 54, struct ifreq) /* set IF wire */
89#define SIOCSIFMEDIA _IOWR('i', 55, struct ifreq) /* set net media */

--- 20 unchanged lines hidden ---
83
84#define SIOCADDMULTI _IOW('i', 49, struct ifreq) /* add m'cast addr */
85#define SIOCDELMULTI _IOW('i', 50, struct ifreq) /* del m'cast addr */
86#define SIOCGIFMTU _IOWR('i', 51, struct ifreq) /* get IF mtu */
87#define SIOCSIFMTU _IOW('i', 52, struct ifreq) /* set IF mtu */
88#define SIOCGIFPHYS _IOWR('i', 53, struct ifreq) /* get IF wire */
89#define SIOCSIFPHYS _IOW('i', 54, struct ifreq) /* set IF wire */
90#define SIOCSIFMEDIA _IOWR('i', 55, struct ifreq) /* set net media */

--- 20 unchanged lines hidden ---