sockio.h File Reference

API published in:
API deprecated in:


#include <sys/ioccom.h>

Go to the source code of this file.


Defines

#define  SIOCSHIWAT   _IOW('s', 0, int)
#define  SIOCGHIWAT   _IOR('s', 1, int)
#define  SIOCSLOWAT   _IOW('s', 2, int)
#define  SIOCGLOWAT   _IOR('s', 3, int)
#define  SIOCATMARK   _IOR('s', 7, int)
#define  SIOCSPGRP   _IOW('s', 8, int)
#define  SIOCGPGRP   _IOR('s', 9, int)
#define  SIOCADDRT   _IOW('r', 10, struct ortentry)
#define  SIOCDELRT   _IOW('r', 11, struct ortentry)
#define  SIOCGETVIFCNT   _IOWR('r', 15, struct sioc_vif_req)
#define  SIOCGETSGCNT   _IOWR('r', 16, struct sioc_sg_req)
#define  SIOCSIFADDR   _IOW('i', 12, struct ifreq)
#define  OSIOCGIFADDR   _IOWR('i', 13, struct ifreq)
#define  SIOCGIFADDR   _IOWR('i', 33, struct ifreq)
#define  SIOCSIFDSTADDR   _IOW('i', 14, struct ifreq)
#define  OSIOCGIFDSTADDR   _IOWR('i', 15, struct ifreq)
#define  SIOCGIFDSTADDR   _IOWR('i', 34, struct ifreq)
#define  SIOCSIFFLAGS   _IOW('i', 16, struct ifreq)
#define  SIOCGIFFLAGS   _IOWR('i', 17, struct ifreq)
#define  OSIOCGIFBRDADDR   _IOWR('i', 18, struct ifreq)
#define  SIOCGIFBRDADDR   _IOWR('i', 35, struct ifreq)
#define  SIOCSIFBRDADDR   _IOW('i', 19, struct ifreq)
#define  OSIOCGIFCONF   _IOWR('i', 20, struct ifconf)
#define  SIOCGIFCONF   _IOWR('i', 36, struct ifconf)
#define  OSIOCGIFNETMASK   _IOWR('i', 21, struct ifreq)
#define  SIOCGIFNETMASK   _IOWR('i', 37, struct ifreq)
#define  SIOCSIFNETMASK   _IOW('i', 22, struct ifreq)
#define  SIOCGIFMETRIC   _IOWR('i', 23, struct ifreq)
#define  SIOCSIFMETRIC   _IOW('i', 24, struct ifreq)
#define  SIOCDIFADDR   _IOW('i', 25, struct ifreq)
#define  SIOCAIFADDR   _IOW('i', 26, struct ifaliasreq)
#define  SIOCALIFADDR   _IOW('i', 27, struct if_laddrreq)
#define  SIOCGLIFADDR   _IOWR('i', 28, struct if_laddrreq)
#define  SIOCDLIFADDR   _IOW('i', 29, struct if_laddrreq)
#define  SIOCSIFCAP   _IOW('i', 30, struct ifreq)
#define  SIOCGIFCAP   _IOWR('i', 31, struct ifreq)
#define  SIOCGIFINDEX   _IOWR('i', 32, struct ifreq)
#define  SIOCGIFMAC   _IOWR('i', 38, struct ifreq)
#define  SIOCSIFMAC   _IOW('i', 39, struct ifreq)
#define  SIOCSIFNAME   _IOW('i', 40, struct ifreq)
#define  SIOCADDMULTI   _IOW('i', 49, struct ifreq)
#define  SIOCDELMULTI   _IOW('i', 50, struct ifreq)
#define  SIOCGIFMTU   _IOWR('i', 51, struct ifreq)
#define  SIOCSIFMTU   _IOW('i', 52, struct ifreq)
#define  SIOCGIFPHYS   _IOWR('i', 53, struct ifreq)
#define  SIOCSIFPHYS   _IOW('i', 54, struct ifreq)
#define  SIOCSIFMEDIA   _IOWR('i', 55, struct ifreq)
#define  SIOCGIFMEDIA   _IOWR('i', 56, struct ifmediareq)
#define  SIOCSIFGENERIC   _IOW('i', 57, struct ifreq)
#define  SIOCGIFGENERIC   _IOWR('i', 58, struct ifreq)
#define  SIOCGIFSTATUS   _IOWR('i', 59, struct ifstat)
#define  SIOCSIFLLADDR   _IOW('i', 60, struct ifreq)
#define  SIOCSIFPHYADDR   _IOW('i', 70, struct ifaliasreq)
#define  SIOCGIFPSRCADDR   _IOWR('i', 71, struct ifreq)
#define  SIOCGIFPDSTADDR   _IOWR('i', 72, struct ifreq)
#define  SIOCDIFPHYADDR   _IOW('i', 73, struct ifreq)
#define  SIOCSLIFPHYADDR   _IOW('i', 74, struct if_laddrreq)
#define  SIOCGLIFPHYADDR   _IOWR('i', 75, struct if_laddrreq)
#define  SIOCGPRIVATE_0   _IOWR('i', 80, struct ifreq)
#define  SIOCGPRIVATE_1   _IOWR('i', 81, struct ifreq)
#define  SIOCSDRVSPEC   _IOW('i', 123, struct ifdrv)
#define  SIOCGDRVSPEC   _IOWR('i', 123, struct ifdrv)
#define  SIOCIFCREATE   _IOWR('i', 122, struct ifreq)
#define  SIOCIFDESTROY   _IOW('i', 121, struct ifreq)
#define  SIOCIFGCLONERS   _IOWR('i', 120, struct if_clonereq)

Define Documentation

#define OSIOCGIFADDR   _IOWR('i', 13, struct ifreq)
 
#define OSIOCGIFBRDADDR   _IOWR('i', 18, struct ifreq)
 
#define OSIOCGIFCONF   _IOWR('i', 20, struct ifconf)
 
#define OSIOCGIFDSTADDR   _IOWR('i', 15, struct ifreq)
 
#define OSIOCGIFNETMASK   _IOWR('i', 21, struct ifreq)
 
#define SIOCADDMULTI   _IOW('i', 49, struct ifreq)
 
#define SIOCADDRT   _IOW('r', 10, struct ortentry)
 
#define SIOCAIFADDR   _IOW('i', 26, struct ifaliasreq)
 
#define SIOCALIFADDR   _IOW('i', 27, struct if_laddrreq)
 
#define SIOCATMARK   _IOR('s', 7, int)
 
#define SIOCDELMULTI   _IOW('i', 50, struct ifreq)
 
#define SIOCDELRT   _IOW('r', 11, struct ortentry)
 
#define SIOCDIFADDR   _IOW('i', 25, struct ifreq)
 
#define SIOCDIFPHYADDR   _IOW('i', 73, struct ifreq)
 
#define SIOCDLIFADDR   _IOW('i', 29, struct if_laddrreq)
 
#define SIOCGDRVSPEC   _IOWR('i', 123, struct ifdrv)
 
#define SIOCGETSGCNT   _IOWR('r', 16, struct sioc_sg_req)
 
#define SIOCGETVIFCNT   _IOWR('r', 15, struct sioc_vif_req)
 
#define SIOCGHIWAT   _IOR('s', 1, int)
 
#define SIOCGIFADDR   _IOWR('i', 33, struct ifreq)
 
#define SIOCGIFBRDADDR   _IOWR('i', 35, struct ifreq)
 
#define SIOCGIFCAP   _IOWR('i', 31, struct ifreq)
 
#define SIOCGIFCONF   _IOWR('i', 36, struct ifconf)
 
#define SIOCGIFDSTADDR   _IOWR('i', 34, struct ifreq)
 
#define SIOCGIFFLAGS   _IOWR('i', 17, struct ifreq)
 
#define SIOCGIFGENERIC   _IOWR('i', 58, struct ifreq)
 
#define SIOCGIFINDEX   _IOWR('i', 32, struct ifreq)
 
#define SIOCGIFMAC   _IOWR('i', 38, struct ifreq)
 
#define SIOCGIFMEDIA   _IOWR('i', 56, struct ifmediareq)
 
#define SIOCGIFMETRIC   _IOWR('i', 23, struct ifreq)
 
#define SIOCGIFMTU   _IOWR('i', 51, struct ifreq)
 
#define SIOCGIFNETMASK   _IOWR('i', 37, struct ifreq)
 
#define SIOCGIFPDSTADDR   _IOWR('i', 72, struct ifreq)
 
#define SIOCGIFPHYS   _IOWR('i', 53, struct ifreq)
 
#define SIOCGIFPSRCADDR   _IOWR('i', 71, struct ifreq)
 
#define SIOCGIFSTATUS   _IOWR('i', 59, struct ifstat)
 
#define SIOCGLIFADDR   _IOWR('i', 28, struct if_laddrreq)
 
#define SIOCGLIFPHYADDR   _IOWR('i', 75, struct if_laddrreq)
 
#define SIOCGLOWAT   _IOR('s', 3, int)
 
#define SIOCGPGRP   _IOR('s', 9, int)
 
#define SIOCGPRIVATE_0   _IOWR('i', 80, struct ifreq)
 
#define SIOCGPRIVATE_1   _IOWR('i', 81, struct ifreq)
 
#define SIOCIFCREATE   _IOWR('i', 122, struct ifreq)
 
#define SIOCIFDESTROY   _IOW('i', 121, struct ifreq)
 
#define SIOCIFGCLONERS   _IOWR('i', 120, struct if_clonereq)
 
#define SIOCSDRVSPEC   _IOW('i', 123, struct ifdrv)
 
#define SIOCSHIWAT   _IOW('s', 0, int)
 
#define SIOCSIFADDR   _IOW('i', 12, struct ifreq)
 
#define SIOCSIFBRDADDR   _IOW('i', 19, struct ifreq)
 
#define SIOCSIFCAP   _IOW('i', 30, struct ifreq)
 
#define SIOCSIFDSTADDR   _IOW('i', 14, struct ifreq)
 
#define SIOCSIFFLAGS   _IOW('i', 16, struct ifreq)
 
#define SIOCSIFGENERIC   _IOW('i', 57, struct ifreq)
 
#define SIOCSIFLLADDR   _IOW('i', 60, struct ifreq)
 
#define SIOCSIFMAC   _IOW('i', 39, struct ifreq)
 
#define SIOCSIFMEDIA   _IOWR('i', 55, struct ifreq)
 
#define SIOCSIFMETRIC   _IOW('i', 24, struct ifreq)
 
#define SIOCSIFMTU   _IOW('i', 52, struct ifreq)
 
#define SIOCSIFNAME   _IOW('i', 40, struct ifreq)
 
#define SIOCSIFNETMASK   _IOW('i', 22, struct ifreq)
 
#define SIOCSIFPHYADDR   _IOW('i', 70, struct ifaliasreq)
 
#define SIOCSIFPHYS   _IOW('i', 54, struct ifreq)
 
#define SIOCSLIFPHYADDR   _IOW('i', 74, struct if_laddrreq)
 
#define SIOCSLOWAT   _IOW('s', 2, int)
 
#define SIOCSPGRP   _IOW('s', 8, int)
 

Copyright © Nokia Corporation 2001-2008
Back to top