Changeset f757bb7c in rtems


Ignore:
Timestamp:
Nov 17, 2015, 2:12:34 PM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
8f3ec7c0
Parents:
836803f
Message:

Merge with latest <sys/sockio.h> from FreeBSD

Required by new network stack.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/include/sys/sockio.h

    r836803f rf757bb7c  
    2828 *
    2929 *      @(#)sockio.h    8.1 (Berkeley) 3/28/94
    30  * $FreeBSD: src/sys/sys/sockio.h,v 1.31 2006/07/09 06:04:00 sam Exp $
     30 * $FreeBSD r283364 2015-05-24T11:24:14Z$
    3131 */
    3232
    33 
    34 #ifndef _SYS_SOCKIO_H_
     33#ifndef _SYS_SOCKIO_H_
    3534#define _SYS_SOCKIO_H_
    3635
     
    7271#define SIOCAIFADDR      _IOW('i', 26, struct ifaliasreq)/* add/chg IF alias */
    7372
     73#define SIOCALIFADDR     _IOW('i', 27, struct if_laddrreq) /* add IF addr */
     74#define SIOCGLIFADDR    _IOWR('i', 28, struct if_laddrreq) /* get IF addr */
     75#define SIOCDLIFADDR     _IOW('i', 29, struct if_laddrreq) /* delete IF addr */
     76#define SIOCSIFCAP       _IOW('i', 30, struct ifreq)    /* set IF features */
     77#define SIOCGIFCAP      _IOWR('i', 31, struct ifreq)    /* get IF features */
     78#define SIOCGIFINDEX    _IOWR('i', 32, struct ifreq)    /* get IF index */
     79#define SIOCGIFMAC      _IOWR('i', 38, struct ifreq)    /* get IF MAC label */
     80#define SIOCSIFMAC       _IOW('i', 39, struct ifreq)    /* set IF MAC label */
     81#define SIOCSIFNAME      _IOW('i', 40, struct ifreq)    /* set IF name */
     82#define SIOCSIFDESCR     _IOW('i', 41, struct ifreq)    /* set ifnet descr */
     83#define SIOCGIFDESCR    _IOWR('i', 42, struct ifreq)    /* get ifnet descr */
     84
    7485#define SIOCADDMULTI     _IOW('i', 49, struct ifreq)    /* add m'cast addr */
    7586#define SIOCDELMULTI     _IOW('i', 50, struct ifreq)    /* del m'cast addr */
     
    8192#define SIOCGIFMEDIA    _IOWR('i', 56, struct ifmediareq) /* get net media */
    8293
     94#define SIOCSIFGENERIC   _IOW('i', 57, struct ifreq)    /* generic IF set op */
     95#define SIOCGIFGENERIC  _IOWR('i', 58, struct ifreq)    /* generic IF get op */
     96
     97#define SIOCGIFSTATUS   _IOWR('i', 59, struct ifstat)   /* get IF status */
     98#define SIOCSIFLLADDR    _IOW('i', 60, struct ifreq)    /* set linklevel addr */
     99
     100#define SIOCSIFPHYADDR   _IOW('i', 70, struct ifaliasreq) /* set gif addres */
     101#define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq)    /* get gif psrc addr */
     102#define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq)    /* get gif pdst addr */
     103#define SIOCDIFPHYADDR   _IOW('i', 73, struct ifreq)    /* delete gif addrs */
     104#define SIOCSLIFPHYADDR  _IOW('i', 74, struct if_laddrreq) /* set gif addrs */
     105#define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq) /* get gif addrs */
     106
     107#define SIOCGPRIVATE_0  _IOWR('i', 80, struct ifreq)    /* device private 0 */
     108#define SIOCGPRIVATE_1  _IOWR('i', 81, struct ifreq)    /* device private 1 */
     109
    83110/*
    84111 * RTEMS additions for setting/getting `tap' function on incoming packets.
    85112 */
    86 #define SIOCSIFTAP      _IOW('i', 80, struct ifreq)     /* set tap function */
    87 #define SIOCGIFTAP      _IOW('i', 81, struct ifreq)     /* get tap function */
     113#define SIOCSIFTAP      _IOW('i', 88, struct ifreq)     /* set tap function */
     114#define SIOCGIFTAP      _IOW('i', 89, struct ifreq)     /* get tap function */
     115
     116#define SIOCSIFVNET     _IOWR('i', 90, struct ifreq)    /* move IF jail/vnet */
     117#define SIOCSIFRVNET    _IOWR('i', 91, struct ifreq)    /* reclaim vnet IF */
     118
     119#define SIOCGIFFIB      _IOWR('i', 92, struct ifreq)    /* get IF fib */
     120#define SIOCSIFFIB       _IOW('i', 93, struct ifreq)    /* set IF fib */
     121
     122#define SIOCSDRVSPEC    _IOW('i', 123, struct ifdrv)    /* set driver-specific
     123                                                                  parameters */
     124#define SIOCGDRVSPEC    _IOWR('i', 123, struct ifdrv)   /* get driver-specific
     125                                                                  parameters */
     126
     127#define SIOCIFCREATE    _IOWR('i', 122, struct ifreq)   /* create clone if */
     128#define SIOCIFCREATE2   _IOWR('i', 124, struct ifreq)   /* create clone if */
     129#define SIOCIFDESTROY    _IOW('i', 121, struct ifreq)   /* destroy clone if */
     130#define SIOCIFGCLONERS  _IOWR('i', 120, struct if_clonereq) /* get cloners */
     131
     132#define SIOCAIFGROUP     _IOW('i', 135, struct ifgroupreq) /* add an ifgroup */
     133#define SIOCGIFGROUP    _IOWR('i', 136, struct ifgroupreq) /* get ifgroups */
     134#define SIOCDIFGROUP     _IOW('i', 137, struct ifgroupreq) /* delete ifgroup */
     135#define SIOCGIFGMEMB    _IOWR('i', 138, struct ifgroupreq) /* get members */
    88136
    89137#endif /* !_SYS_SOCKIO_H_ */
Note: See TracChangeset for help on using the changeset viewer.