epoc32/include/stdapis/sys/sockio.h
branchSymbian3
changeset 4 837f303aceeb
parent 2 2fe1408b6811
equal deleted inserted replaced
3:e1b950c65cb4 4:837f303aceeb
     1 // © Portions copyright (c) 2006 Nokia Corporation.  All rights reserved.
       
     2 // © Portions copyright (c) 2007 Symbian Software Ltd. All rights reserved.
       
     3 
     1 
     4 /*-
     2 /*-
     5  * Copyright (c) 1982, 1986, 1990, 1993, 1994
     3  * Copyright (c) 1982, 1986, 1990, 1993, 1994
     6  *	The Regents of the University of California.  All rights reserved.
     4  *	The Regents of the University of California.  All rights reserved.
     7  *
     5  *
    26  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    24  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
    27  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    25  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
    28  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    26  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
    29  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    27  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    30  * SUCH DAMAGE.
    28  * SUCH DAMAGE.
    31  *
    29  *   Portions Copyright (c) 2006-2007  Nokia Corporation and/or its subsidiary(-ies).  All rights reserved.
    32  *	@(#)sockio.h	8.1 (Berkeley) 3/28/94
    30  *	@(#)sockio.h	8.1 (Berkeley) 3/28/94
    33  * $FreeBSD: src/sys/sys/sockio.h,v 1.28 2005/06/05 03:13:13 thompsa Exp $
    31  * $FreeBSD: src/sys/sys/sockio.h,v 1.28 2005/06/05 03:13:13 thompsa Exp $
    34  */
    32  */
    35 
    33 
    36 #ifndef _SYS_SOCKIO_H_
    34 #ifndef _SYS_SOCKIO_H_
    44 #ifdef __SYMBIAN32__
    42 #ifdef __SYMBIAN32__
    45 #define	SIOCGIFCONF			_IOWR('s', 3, struct ifconf)	/* get ifnet list */
    43 #define	SIOCGIFCONF			_IOWR('s', 3, struct ifconf)	/* get ifnet list */
    46 #define	SIOCGIFACTIVECONF	_IOWR('s', 4, struct ifconf)	/* get active ifnet list */
    44 #define	SIOCGIFACTIVECONF	_IOWR('s', 4, struct ifconf)	/* get active ifnet list */
    47 #define	SIOCSIFNAME			_IOW('s', 5, struct ifreq)	/* set IF name */
    45 #define	SIOCSIFNAME			_IOW('s', 5, struct ifreq)	/* set IF name */
    48 #define	SIOCGIFINDEX		_IOWR('s', 6, struct ifreq)	/* get IF name */
    46 #define	SIOCGIFINDEX		_IOWR('s', 6, struct ifreq)	/* get IF name */
       
    47 #define SIOCGIFACTIVEIAP    _IOWR('s',12,struct ifreq) /* gets current active IAP/SNAP*/
    49 #define	SIOCIFSTART			_IOR('s', 7, NULL)	/* start the IF */
    48 #define	SIOCIFSTART			_IOR('s', 7, NULL)	/* start the IF */
    50 #define	SIOCIFACTIVESTART	_IOR('s', 8, NULL)	/* start the sub IF */
    49 #define	SIOCIFACTIVESTART	_IOR('s', 8, NULL)	/* start the sub IF */
    51 #define	SIOCIFSTOP			_IOR('s', 9, NULL)	/* stop the IF */
    50 #define	SIOCIFSTOP			_IOR('s', 9, NULL)	/* stop the IF */
    52 #define	SIOCATMARK			_IOR('s', 10, int)		/* at oob mark? */
    51 #define	SIOCATMARK			_IOR('s', 10, int)		/* at oob mark? */
    53 #define	SIOCGIFADDR			_IOWR('i', 11, struct ifreq)	/* get ifnet address */
    52 #define	SIOCGIFADDR			_IOWR('i', 11, struct ifreq)	/* get ifnet address */