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 *** To edit the content of this header, modify the corresponding 11 *** source file (e.g. under external/kernel-headers/original/) then 12 *** run bionic/libc/kernel/tools/update_all.py 13 *** 14 *** Any manual change here will be lost the next time this script will 15 *** be run. You've been warned! 16 *** 17 **************************************************************************** 18 ****************************************************************************/ 19 #ifndef _LINUX_SOCKIOS_H 20 #define _LINUX_SOCKIOS_H 21 #include <asm/sockios.h> 22 #define SIOCINQ FIONREAD 23 #define SIOCOUTQ TIOCOUTQ 24 #define SIOCADDRT 0x890B 25 #define SIOCDELRT 0x890C 26 #define SIOCRTMSG 0x890D 27 #define SIOCGIFNAME 0x8910 28 #define SIOCSIFLINK 0x8911 29 #define SIOCGIFCONF 0x8912 30 #define SIOCGIFFLAGS 0x8913 31 #define SIOCSIFFLAGS 0x8914 32 #define SIOCGIFADDR 0x8915 33 #define SIOCSIFADDR 0x8916 34 #define SIOCGIFDSTADDR 0x8917 35 #define SIOCSIFDSTADDR 0x8918 36 #define SIOCGIFBRDADDR 0x8919 37 #define SIOCSIFBRDADDR 0x891a 38 #define SIOCGIFNETMASK 0x891b 39 #define SIOCSIFNETMASK 0x891c 40 #define SIOCGIFMETRIC 0x891d 41 #define SIOCSIFMETRIC 0x891e 42 #define SIOCGIFMEM 0x891f 43 #define SIOCSIFMEM 0x8920 44 #define SIOCGIFMTU 0x8921 45 #define SIOCSIFMTU 0x8922 46 #define SIOCSIFNAME 0x8923 47 #define SIOCSIFHWADDR 0x8924 48 #define SIOCGIFENCAP 0x8925 49 #define SIOCSIFENCAP 0x8926 50 #define SIOCGIFHWADDR 0x8927 51 #define SIOCGIFSLAVE 0x8929 52 #define SIOCSIFSLAVE 0x8930 53 #define SIOCADDMULTI 0x8931 54 #define SIOCDELMULTI 0x8932 55 #define SIOCGIFINDEX 0x8933 56 #define SIOGIFINDEX SIOCGIFINDEX 57 #define SIOCSIFPFLAGS 0x8934 58 #define SIOCGIFPFLAGS 0x8935 59 #define SIOCDIFADDR 0x8936 60 #define SIOCSIFHWBROADCAST 0x8937 61 #define SIOCGIFCOUNT 0x8938 62 #define SIOCGIFBR 0x8940 63 #define SIOCSIFBR 0x8941 64 #define SIOCGIFTXQLEN 0x8942 65 #define SIOCSIFTXQLEN 0x8943 66 #define SIOCETHTOOL 0x8946 67 #define SIOCGMIIPHY 0x8947 68 #define SIOCGMIIREG 0x8948 69 #define SIOCSMIIREG 0x8949 70 #define SIOCWANDEV 0x894A 71 #define SIOCOUTQNSD 0x894B 72 #define SIOCDARP 0x8953 73 #define SIOCGARP 0x8954 74 #define SIOCSARP 0x8955 75 #define SIOCDRARP 0x8960 76 #define SIOCGRARP 0x8961 77 #define SIOCSRARP 0x8962 78 #define SIOCGIFMAP 0x8970 79 #define SIOCSIFMAP 0x8971 80 #define SIOCADDDLCI 0x8980 81 #define SIOCDELDLCI 0x8981 82 #define SIOCGIFVLAN 0x8982 83 #define SIOCSIFVLAN 0x8983 84 #define SIOCBONDENSLAVE 0x8990 85 #define SIOCBONDRELEASE 0x8991 86 #define SIOCBONDSETHWADDR 0x8992 87 #define SIOCBONDSLAVEINFOQUERY 0x8993 88 #define SIOCBONDINFOQUERY 0x8994 89 #define SIOCBONDCHANGEACTIVE 0x8995 90 #define SIOCBRADDBR 0x89a0 91 #define SIOCBRDELBR 0x89a1 92 #define SIOCBRADDIF 0x89a2 93 #define SIOCBRDELIF 0x89a3 94 #define SIOCSHWTSTAMP 0x89b0 95 #define SIOCGHWTSTAMP 0x89b1 96 #define SIOCDEVPRIVATE 0x89F0 97 #define SIOCPROTOPRIVATE 0x89E0 98 #endif 99 100