Annotation of embedaddon/pimdd/include/sunos-gcc/sys/sockio.h, revision 1.1

1.1     ! misho       1: /*     @(#)sockio.h 1.7 88/12/06 SMI; from UCB ioctl.h 7.1 6/4/86      */
        !             2: 
        !             3: /*
        !             4:  * Copyright (c) 1982, 1986 Regents of the University of California.
        !             5:  * All rights reserved.  The Berkeley software License Agreement
        !             6:  * specifies the terms and conditions for redistribution.
        !             7:  */
        !             8: 
        !             9: /*
        !            10:  * General socket ioctl definitions.
        !            11:  */
        !            12: 
        !            13: #ifndef _sys_sockio_h
        !            14: #define _sys_sockio_h
        !            15: 
        !            16: #include <sys/ioccom.h>
        !            17: 
        !            18: /* socket i/o controls */
        !            19: #define        SIOCSHIWAT      _IOW('s',  0, int)              /* set high watermark */
        !            20: #define        SIOCGHIWAT      _IOR('s',  1, int)              /* get high watermark */
        !            21: #define        SIOCSLOWAT      _IOW('s',  2, int)              /* set low watermark */
        !            22: #define        SIOCGLOWAT      _IOR('s',  3, int)              /* get low watermark */
        !            23: #define        SIOCATMARK      _IOR('s',  7, int)              /* at oob mark? */
        !            24: #define        SIOCSPGRP       _IOW('s',  8, int)              /* set process group */
        !            25: #define        SIOCGPGRP       _IOR('s',  9, int)              /* get process group */
        !            26: 
        !            27: #define        SIOCADDRT       _IOW('r', 10, struct rtentry)   /* add route */
        !            28: #define        SIOCDELRT       _IOW('r', 11, struct rtentry)   /* delete route */
        !            29: #define SIOCGETVIFCNT  _IOWR('r', 20, struct sioc_vif_req)/* get vif pkt cnt */
        !            30: #define SIOCGETSGCNT   _IOWR('r', 21, struct sioc_sg_req) /* get s,g pkt cnt */
        !            31: /* AH 96/9/23 added GETRPF for PIM support */
        !            32: #define SIOCGETRPF     _IOWR('r', 22, struct rpfctl)     /* get rpf info */
        !            33: #ifdef  RSVP_ISI
        !            34: #define SIOCGETVIFINF   _IOWR('r', 15, struct vif_conf)   /* read m/c vifs  */
        !            35: #endif  RSVP_ISI
        !            36: 
        !            37: #define        SIOCSIFADDR     _IOW('i', 12, struct ifreq)     /* set ifnet address */
        !            38: #define        SIOCGIFADDR     _IOWR('i',13, struct ifreq)     /* get ifnet address */
        !            39: #define        SIOCSIFDSTADDR  _IOW('i', 14, struct ifreq)     /* set p-p address */
        !            40: #define        SIOCGIFDSTADDR  _IOWR('i',15, struct ifreq)     /* get p-p address */
        !            41: #define        SIOCSIFFLAGS    _IOW('i', 16, struct ifreq)     /* set ifnet flags */
        !            42: #define        SIOCGIFFLAGS    _IOWR('i',17, struct ifreq)     /* get ifnet flags */
        !            43: #define        SIOCSIFMEM      _IOW('i', 18, struct ifreq)     /* set interface mem */
        !            44: #define        SIOCGIFMEM      _IOWR('i',19, struct ifreq)     /* get interface mem */
        !            45: #define        SIOCGIFCONF     _IOWR('i',20, struct ifconf)    /* get ifnet list */
        !            46: #define        SIOCSIFMTU      _IOW('i', 21, struct ifreq)     /* set if_mtu */
        !            47: #define        SIOCGIFMTU      _IOWR('i',22, struct ifreq)     /* get if_mtu */
        !            48: 
        !            49:        /* from 4.3BSD */
        !            50: #define        SIOCGIFBRDADDR  _IOWR('i',23, struct ifreq)     /* get broadcast addr */
        !            51: #define        SIOCSIFBRDADDR  _IOW('i',24, struct ifreq)      /* set broadcast addr */
        !            52: #define        SIOCGIFNETMASK  _IOWR('i',25, struct ifreq)     /* get net addr mask */
        !            53: #define        SIOCSIFNETMASK  _IOW('i',26, struct ifreq)      /* set net addr mask */
        !            54: #define        SIOCGIFMETRIC   _IOWR('i',27, struct ifreq)     /* get IF metric */
        !            55: #define        SIOCSIFMETRIC   _IOW('i',28, struct ifreq)      /* set IF metric */
        !            56: 
        !            57: #define        SIOCSARP        _IOW('i', 30, struct arpreq)    /* set arp entry */
        !            58: #define        SIOCGARP        _IOWR('i',31, struct arpreq)    /* get arp entry */
        !            59: #define        SIOCDARP        _IOW('i', 32, struct arpreq)    /* delete arp entry */
        !            60: #define        SIOCUPPER       _IOW('i', 40, struct ifreq)       /* attach upper layer */
        !            61: #define        SIOCLOWER       _IOW('i', 41, struct ifreq)       /* attach lower layer */
        !            62: #define        SIOCSETSYNC     _IOW('i',  44, struct ifreq)    /* set syncmode */
        !            63: #define        SIOCGETSYNC     _IOWR('i', 45, struct ifreq)    /* get syncmode */
        !            64: #define        SIOCSSDSTATS    _IOWR('i', 46, struct ifreq)    /* sync data stats */
        !            65: #define        SIOCSSESTATS    _IOWR('i', 47, struct ifreq)    /* sync error stats */
        !            66: 
        !            67: #define        SIOCSPROMISC    _IOW('i', 48, int)              /* request promisc mode
        !            68:                                                           on/off */
        !            69: #define        SIOCADDMULTI    _IOW('i', 49, struct ifreq)     /* set m/c address */
        !            70: #define        SIOCDELMULTI    _IOW('i', 50, struct ifreq)     /* clr m/c address */
        !            71: 
        !            72: /* FDDI controls */
        !            73: #define SIOCFDRESET    _IOW('i', 51, struct ifreq)     /* Reset FDDI */
        !            74: #define SIOCFDSLEEP    _IOW('i', 52, struct ifreq)     /* Sleep until next dnld req */
        !            75: #define SIOCSTRTFMWAR  _IOW('i', 53, struct ifreq)     /* Start FW at an addr */
        !            76: #define SIOCLDNSTRTFW  _IOW('i', 54, struct ifreq)     /* Load the shared memory */
        !            77: #define SIOCGETFDSTAT  _IOW('i', 55, struct ifreq)     /* Get FDDI stats */
        !            78: #define SIOCFDNMIINT   _IOW('i', 56, struct ifreq)        /* NMI to fddi */
        !            79: #define SIOCFDEXUSER   _IOW('i', 57, struct ifreq)        /* Exec in user mode */
        !            80: #define SIOCFDGNETMAP  _IOW('i', 58, struct ifreq)        /* Get a netmap entry */
        !            81: #define SIOCFDGIOCTL    _IOW('i', 59, struct ifreq)     /* Generic ioctl for fddi */
        !            82: 
        !            83: /* protocol i/o controls */
        !            84: #define        SIOCSNIT        _IOW('p',  0, struct nit_ioc)   /* set nit modes */
        !            85: #define        SIOCGNIT        _IOWR('p', 1, struct nit_ioc)   /* get nit modes */
        !            86: 
        !            87: #endif /*!_sys_sockio_h*/

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>