51 #define SIOCATMARK _IOR('s', 10, int) /* at oob mark? */ |
51 #define SIOCATMARK _IOR('s', 10, int) /* at oob mark? */ |
52 #define SIOCGIFADDR _IOWR('i', 11, struct ifreq) /* get ifnet address */ |
52 #define SIOCGIFADDR _IOWR('i', 11, struct ifreq) /* get ifnet address */ |
53 #define SIOCGIFNUM _IOR('i', 87, int) /* get interface numbers */ |
53 #define SIOCGIFNUM _IOR('i', 87, int) /* get interface numbers */ |
54 #define SIOCADDRT _IOW('r', 12, struct rtentry) /* add route */ |
54 #define SIOCADDRT _IOW('r', 12, struct rtentry) /* add route */ |
55 #define SIOCDELRT _IOW('r', 13, struct rtentry) /* delete route */ |
55 #define SIOCDELRT _IOW('r', 13, struct rtentry) /* delete route */ |
56 #define SIOCENUMROUTES _IOWR('r', 14, struct rtentry) /*enumerate routes*/ |
|
57 #define SIOCGIFHWADDR _IOW('s', 14, struct ifreq) /* get MAC address*/ |
56 #define SIOCGIFHWADDR _IOW('s', 14, struct ifreq) /* get MAC address*/ |
58 #define SIOCGIFFLAGS _IOWR('i', 17, struct ifreq) /* get ifnet flags */ |
|
59 #define SIOCGIFMTU _IOWR('i', 51, struct ifreq) /* get IF mtu */ |
|
60 #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) /* get net addr mask */ |
|
61 #define SIOCSIFADDR _IOW('i', 12, struct ifreq) /* set ifnet address */ |
|
62 #define SIOCSIFFLAGS _IOW('i', 16, struct ifreq) /* set ifnet flags */ |
|
63 #define SIOCSIFMTU _IOW('i', 52, struct ifreq) /* set IF mtu */ |
|
64 #define SIOCSIFNETMASK _IOW('i', 22, struct ifreq) /* set net addr mask */ |
|
65 #define SIOCGIFDEFGATEWAY _IOWR('i',123,struct ifreq) /* get the default gateway of the interface */ |
|
66 #define SIOCSETDNSSUFFIX _IOWR('i',124,struct if_dns_suffixes) /* set the dns suffixes of the interface */ |
|
67 #define SIOCGETDNSSUFFIX _IOWR('i',125,struct if_dns_suffixes) /* get the dns suffixes of the interface */ |
|
68 #define SIOCSNAMESERVER _IOWR('i', 41, struct if_name_servers) /*Set the name server on the interface */ |
|
69 #define SIOCGNAMESERVER _IOWR('i', 42, struct if_name_servers) /*Get the name server on the interface*/ |
|
70 #else // __SYMBIAN32__ |
57 #else // __SYMBIAN32__ |
71 #define SIOCSHIWAT _IOW('s', 0, int) /* set high watermark */ |
58 #define SIOCSHIWAT _IOW('s', 0, int) /* set high watermark */ |
72 #define SIOCGHIWAT _IOR('s', 1, int) /* get high watermark */ |
59 #define SIOCGHIWAT _IOR('s', 1, int) /* get high watermark */ |
73 #define SIOCSLOWAT _IOW('s', 2, int) /* set low watermark */ |
60 #define SIOCSLOWAT _IOW('s', 2, int) /* set low watermark */ |
74 #define SIOCGLOWAT _IOR('s', 3, int) /* get low watermark */ |
61 #define SIOCGLOWAT _IOR('s', 3, int) /* get low watermark */ |