sockio.h (2531) | sockio.h (5184) |
---|---|
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 * $Id: sockio.h,v 1.3 1994/08/08 10:49:26 davidg Exp $ | 34 * $Id: sockio.h,v 1.4 1994/09/06 22:42:31 wollman Exp $ |
35 */ 36 37#ifndef _SYS_SOCKIO_H_ 38#define _SYS_SOCKIO_H_ 39 40#include <sys/ioccom.h> 41 42/* Socket ioctl's. */ --- 33 unchanged lines hidden (view full) --- 76#define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) /* set IF metric */ 77#define SIOCDIFADDR _IOW('i', 25, struct ifreq) /* delete IF addr */ 78#define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq)/* add/chg IF alias */ 79 80#define SIOCADDMULTI _IOW('i', 49, struct ifreq) /* add m'cast addr */ 81#define SIOCDELMULTI _IOW('i', 50, struct ifreq) /* del m'cast addr */ 82#define SIOCGIFMTU _IOWR('i', 51, struct ifreq) /* get IF mtu */ 83#define SIOCSIFMTU _IOW('i', 52, struct ifreq) /* set IF mtu */ | 35 */ 36 37#ifndef _SYS_SOCKIO_H_ 38#define _SYS_SOCKIO_H_ 39 40#include <sys/ioccom.h> 41 42/* Socket ioctl's. */ --- 33 unchanged lines hidden (view full) --- 76#define SIOCSIFMETRIC _IOW('i', 24, struct ifreq) /* set IF metric */ 77#define SIOCDIFADDR _IOW('i', 25, struct ifreq) /* delete IF addr */ 78#define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq)/* add/chg IF alias */ 79 80#define SIOCADDMULTI _IOW('i', 49, struct ifreq) /* add m'cast addr */ 81#define SIOCDELMULTI _IOW('i', 50, struct ifreq) /* del m'cast addr */ 82#define SIOCGIFMTU _IOWR('i', 51, struct ifreq) /* get IF mtu */ 83#define SIOCSIFMTU _IOW('i', 52, struct ifreq) /* set IF mtu */ |
84#define SIOCGIFPHYS _IOWR('i', 53, struct ifreq) /* get IF wire */ 85#define SIOCSIFPHYS _IOW('i', 54, struct ifreq) /* set IF wire */ |
|
84 85#endif /* !_SYS_SOCKIO_H_ */ | 86 87#endif /* !_SYS_SOCKIO_H_ */ |