1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 **************************************************************************** 11 ****************************************************************************/ 12 #ifndef _LINUX_SOCKIOS_H 13 #define _LINUX_SOCKIOS_H 14 15 #include <asm/sockios.h> 16 17 #define SIOCINQ FIONREAD 18 #define SIOCOUTQ TIOCOUTQ 19 20 #define SIOCADDRT 0x890B 21 #define SIOCDELRT 0x890C 22 #define SIOCRTMSG 0x890D 23 24 #define SIOCGIFNAME 0x8910 25 #define SIOCSIFLINK 0x8911 26 #define SIOCGIFCONF 0x8912 27 #define SIOCGIFFLAGS 0x8913 28 #define SIOCSIFFLAGS 0x8914 29 #define SIOCGIFADDR 0x8915 30 #define SIOCSIFADDR 0x8916 31 #define SIOCGIFDSTADDR 0x8917 32 #define SIOCSIFDSTADDR 0x8918 33 #define SIOCGIFBRDADDR 0x8919 34 #define SIOCSIFBRDADDR 0x891a 35 #define SIOCGIFNETMASK 0x891b 36 #define SIOCSIFNETMASK 0x891c 37 #define SIOCGIFMETRIC 0x891d 38 #define SIOCSIFMETRIC 0x891e 39 #define SIOCGIFMEM 0x891f 40 #define SIOCSIFMEM 0x8920 41 #define SIOCGIFMTU 0x8921 42 #define SIOCSIFMTU 0x8922 43 #define SIOCSIFNAME 0x8923 44 #define SIOCSIFHWADDR 0x8924 45 #define SIOCGIFENCAP 0x8925 46 #define SIOCSIFENCAP 0x8926 47 #define SIOCGIFHWADDR 0x8927 48 #define SIOCGIFSLAVE 0x8929 49 #define SIOCSIFSLAVE 0x8930 50 #define SIOCADDMULTI 0x8931 51 #define SIOCDELMULTI 0x8932 52 #define SIOCGIFINDEX 0x8933 53 #define SIOGIFINDEX SIOCGIFINDEX 54 #define SIOCSIFPFLAGS 0x8934 55 #define SIOCGIFPFLAGS 0x8935 56 #define SIOCDIFADDR 0x8936 57 #define SIOCSIFHWBROADCAST 0x8937 58 #define SIOCGIFCOUNT 0x8938 59 #define SIOCKILLADDR 0x8939 60 61 #define SIOCGIFBR 0x8940 62 #define SIOCSIFBR 0x8941 63 64 #define SIOCGIFTXQLEN 0x8942 65 #define SIOCSIFTXQLEN 0x8943 66 67 #define SIOCETHTOOL 0x8946 68 69 #define SIOCGMIIPHY 0x8947 70 #define SIOCGMIIREG 0x8948 71 #define SIOCSMIIREG 0x8949 72 73 #define SIOCWANDEV 0x894A 74 75 #define SIOCDARP 0x8953 76 #define SIOCGARP 0x8954 77 #define SIOCSARP 0x8955 78 79 #define SIOCDRARP 0x8960 80 #define SIOCGRARP 0x8961 81 #define SIOCSRARP 0x8962 82 83 #define SIOCGIFMAP 0x8970 84 #define SIOCSIFMAP 0x8971 85 86 #define SIOCADDDLCI 0x8980 87 #define SIOCDELDLCI 0x8981 88 89 #define SIOCGIFVLAN 0x8982 90 #define SIOCSIFVLAN 0x8983 91 92 #define SIOCBONDENSLAVE 0x8990 93 #define SIOCBONDRELEASE 0x8991 94 #define SIOCBONDSETHWADDR 0x8992 95 #define SIOCBONDSLAVEINFOQUERY 0x8993 96 #define SIOCBONDINFOQUERY 0x8994 97 #define SIOCBONDCHANGEACTIVE 0x8995 98 99 #define SIOCBRADDBR 0x89a0 100 #define SIOCBRDELBR 0x89a1 101 #define SIOCBRADDIF 0x89a2 102 #define SIOCBRDELIF 0x89a3 103 104 #define SIOCDEVPRIVATE 0x89F0 105 106 #define SIOCPROTOPRIVATE 0x89E0 107 #endif 108