00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035 #ifndef _SYS_SOCKIO_H_
00036 #define _SYS_SOCKIO_H_
00037
00038 #include <sys/ioccom.h>
00039
00040
00041 #ifdef SYMBIAN
00042 #define SIOCGIFACTIVECONF _IOWR('s', 124, struct ifconf)
00043 #define SIOCIFSTART _IOR('s', 125, NULL)
00044 #define SIOCIFACTIVESTART _IOR('s', 126, NULL)
00045 #define SIOCGIFNUM _IOR('i', 127, int)
00046 #define SIOCIFSTOP _IOR('s', 128, NULL)
00047 #endif
00048
00049
00050 #define SIOCSHIWAT _IOW('s', 0, int)
00051 #define SIOCGHIWAT _IOR('s', 1, int)
00052 #define SIOCSLOWAT _IOW('s', 2, int)
00053 #define SIOCGLOWAT _IOR('s', 3, int)
00054 #define SIOCATMARK _IOR('s', 7, int)
00055 #define SIOCSPGRP _IOW('s', 8, int)
00056 #define SIOCGPGRP _IOR('s', 9, int)
00057
00058 #define SIOCADDRT _IOW('r', 10, struct ortentry)
00059 #define SIOCDELRT _IOW('r', 11, struct ortentry)
00060 #define SIOCGETVIFCNT _IOWR('r', 15, struct sioc_vif_req)
00061 #define SIOCGETSGCNT _IOWR('r', 16, struct sioc_sg_req)
00062
00063 #define SIOCSIFADDR _IOW('i', 12, struct ifreq)
00064 #define OSIOCGIFADDR _IOWR('i', 13, struct ifreq)
00065 #define SIOCGIFADDR _IOWR('i', 33, struct ifreq)
00066 #define SIOCSIFDSTADDR _IOW('i', 14, struct ifreq)
00067 #define OSIOCGIFDSTADDR _IOWR('i', 15, struct ifreq)
00068 #define SIOCGIFDSTADDR _IOWR('i', 34, struct ifreq)
00069 #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq)
00070 #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq)
00071 #define OSIOCGIFBRDADDR _IOWR('i', 18, struct ifreq)
00072 #define SIOCGIFBRDADDR _IOWR('i', 35, struct ifreq)
00073 #define SIOCSIFBRDADDR _IOW('i', 19, struct ifreq)
00074 #define OSIOCGIFCONF _IOWR('i', 20, struct ifconf)
00075 #define SIOCGIFCONF _IOWR('i', 36, struct ifconf)
00076 #define OSIOCGIFNETMASK _IOWR('i', 21, struct ifreq)
00077 #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq)
00078 #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq)
00079 #define SIOCGIFMETRIC _IOWR('i', 23, struct ifreq)
00080 #define SIOCSIFMETRIC _IOW('i', 24, struct ifreq)
00081 #define SIOCDIFADDR _IOW('i', 25, struct ifreq)
00082 #define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq)
00083
00084 #define SIOCALIFADDR _IOW('i', 27, struct if_laddrreq)
00085 #define SIOCGLIFADDR _IOWR('i', 28, struct if_laddrreq)
00086 #define SIOCDLIFADDR _IOW('i', 29, struct if_laddrreq)
00087 #define SIOCSIFCAP _IOW('i', 30, struct ifreq)
00088 #define SIOCGIFCAP _IOWR('i', 31, struct ifreq)
00089 #define SIOCGIFINDEX _IOWR('i', 32, struct ifreq)
00090 #define SIOCGIFMAC _IOWR('i', 38, struct ifreq)
00091 #define SIOCSIFMAC _IOW('i', 39, struct ifreq)
00092 #define SIOCSIFNAME _IOW('i', 40, struct ifreq)
00093
00094 #define SIOCADDMULTI _IOW('i', 49, struct ifreq)
00095 #define SIOCDELMULTI _IOW('i', 50, struct ifreq)
00096 #define SIOCGIFMTU _IOWR('i', 51, struct ifreq)
00097 #define SIOCSIFMTU _IOW('i', 52, struct ifreq)
00098 #define SIOCGIFPHYS _IOWR('i', 53, struct ifreq)
00099 #define SIOCSIFPHYS _IOW('i', 54, struct ifreq)
00100 #define SIOCSIFMEDIA _IOWR('i', 55, struct ifreq)
00101 #define SIOCGIFMEDIA _IOWR('i', 56, struct ifmediareq)
00102
00103 #define SIOCSIFGENERIC _IOW('i', 57, struct ifreq)
00104 #define SIOCGIFGENERIC _IOWR('i', 58, struct ifreq)
00105
00106 #define SIOCGIFSTATUS _IOWR('i', 59, struct ifstat)
00107 #define SIOCSIFLLADDR _IOW('i', 60, struct ifreq)
00108
00109 #define SIOCSIFPHYADDR _IOW('i', 70, struct ifaliasreq)
00110 #define SIOCGIFPSRCADDR _IOWR('i', 71, struct ifreq)
00111 #define SIOCGIFPDSTADDR _IOWR('i', 72, struct ifreq)
00112 #define SIOCDIFPHYADDR _IOW('i', 73, struct ifreq)
00113 #define SIOCSLIFPHYADDR _IOW('i', 74, struct if_laddrreq)
00114 #define SIOCGLIFPHYADDR _IOWR('i', 75, struct if_laddrreq)
00115
00116 #define SIOCGPRIVATE_0 _IOWR('i', 80, struct ifreq)
00117 #define SIOCGPRIVATE_1 _IOWR('i', 81, struct ifreq)
00118
00119 #define SIOCSDRVSPEC _IOW('i', 123, struct ifdrv)
00120
00121 #define SIOCGDRVSPEC _IOWR('i', 123, struct ifdrv)
00122
00123
00124 #define SIOCIFCREATE _IOWR('i', 122, struct ifreq)
00125 #define SIOCIFDESTROY _IOW('i', 121, struct ifreq)
00126 #define SIOCIFGCLONERS _IOWR('i', 120, struct if_clonereq)
00127
00128 #endif