Deleted Added
full compact
sockio.h (193166) sockio.h (194251)
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 193166 2009-05-31 12:10:04Z zec $
30 * $FreeBSD: head/sys/sys/sockio.h 194251 2009-06-15 18:59:29Z jamie $
31 */
32
33#ifndef _SYS_SOCKIO_H_
34#define _SYS_SOCKIO_H_
35
36#include <sys/ioccom.h>
37
38/* Socket ioctl's. */

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

103#define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) /* get gif pdst addr */
104#define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) /* delete gif addrs */
105#define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) /* set gif addrs */
106#define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) /* get gif addrs */
107
108#define SIOCGPRIVATE_0 _IOWR('i', 80, struct ifreq) /* device private 0 */
109#define SIOCGPRIVATE_1 _IOWR('i', 81, struct ifreq) /* device private 1 */
110
31 */
32
33#ifndef _SYS_SOCKIO_H_
34#define _SYS_SOCKIO_H_
35
36#include <sys/ioccom.h>
37
38/* Socket ioctl's. */

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

103#define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq) /* get gif pdst addr */
104#define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq) /* delete gif addrs */
105#define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq) /* set gif addrs */
106#define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) /* get gif addrs */
107
108#define SIOCGPRIVATE_0 _IOWR('i', 80, struct ifreq) /* device private 0 */
109#define SIOCGPRIVATE_1 _IOWR('i', 81, struct ifreq) /* device private 1 */
110
111#define SIOCSIFVNET _IOWR('i', 90, struct ifreq) /* move IF jail/vnet */
112#define SIOCSIFRVNET _IOWR('i', 91, struct ifreq) /* reclaim vnet IF */
113
111#define SIOCSPVIMAGE _IOW('i', 101, struct vi_req) /* set proc vimage */
112#define SIOCGPVIMAGE _IOWR('i', 102, struct vi_req) /* get proc vimage */
113#define SIOCSIFVIMAGE _IOWR('i', 103, struct vi_req) /* set ifc vi/net */
114
115#define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) /* set driver-specific
116 parameters */
117#define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) /* get driver-specific
118 parameters */

--- 12 unchanged lines hidden ---
114#define SIOCSPVIMAGE _IOW('i', 101, struct vi_req) /* set proc vimage */
115#define SIOCGPVIMAGE _IOWR('i', 102, struct vi_req) /* get proc vimage */
116#define SIOCSIFVIMAGE _IOWR('i', 103, struct vi_req) /* set ifc vi/net */
117
118#define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv) /* set driver-specific
119 parameters */
120#define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv) /* get driver-specific
121 parameters */

--- 12 unchanged lines hidden ---