| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 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 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 23 | #define SIOCOUTQ TIOCOUTQ | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 24 | #define SOCK_IOC_TYPE 0x89 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 25 | #define SIOCADDRT 0x890B | 
|  | 26 | #define SIOCDELRT 0x890C | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 27 | #define SIOCRTMSG 0x890D | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 28 | #define SIOCGIFNAME 0x8910 | 
|  | 29 | #define SIOCSIFLINK 0x8911 | 
|  | 30 | #define SIOCGIFCONF 0x8912 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 31 | #define SIOCGIFFLAGS 0x8913 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 32 | #define SIOCSIFFLAGS 0x8914 | 
|  | 33 | #define SIOCGIFADDR 0x8915 | 
|  | 34 | #define SIOCSIFADDR 0x8916 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 35 | #define SIOCGIFDSTADDR 0x8917 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 36 | #define SIOCSIFDSTADDR 0x8918 | 
|  | 37 | #define SIOCGIFBRDADDR 0x8919 | 
|  | 38 | #define SIOCSIFBRDADDR 0x891a | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 39 | #define SIOCGIFNETMASK 0x891b | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 40 | #define SIOCSIFNETMASK 0x891c | 
|  | 41 | #define SIOCGIFMETRIC 0x891d | 
|  | 42 | #define SIOCSIFMETRIC 0x891e | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 43 | #define SIOCGIFMEM 0x891f | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 44 | #define SIOCSIFMEM 0x8920 | 
|  | 45 | #define SIOCGIFMTU 0x8921 | 
|  | 46 | #define SIOCSIFMTU 0x8922 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 47 | #define SIOCSIFNAME 0x8923 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 48 | #define SIOCSIFHWADDR 0x8924 | 
|  | 49 | #define SIOCGIFENCAP 0x8925 | 
|  | 50 | #define SIOCSIFENCAP 0x8926 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 51 | #define SIOCGIFHWADDR 0x8927 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 52 | #define SIOCGIFSLAVE 0x8929 | 
|  | 53 | #define SIOCSIFSLAVE 0x8930 | 
|  | 54 | #define SIOCADDMULTI 0x8931 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 55 | #define SIOCDELMULTI 0x8932 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 56 | #define SIOCGIFINDEX 0x8933 | 
|  | 57 | #define SIOGIFINDEX SIOCGIFINDEX | 
|  | 58 | #define SIOCSIFPFLAGS 0x8934 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 59 | #define SIOCGIFPFLAGS 0x8935 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 60 | #define SIOCDIFADDR 0x8936 | 
|  | 61 | #define SIOCSIFHWBROADCAST 0x8937 | 
|  | 62 | #define SIOCGIFCOUNT 0x8938 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 63 | #define SIOCGIFBR 0x8940 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 64 | #define SIOCSIFBR 0x8941 | 
|  | 65 | #define SIOCGIFTXQLEN 0x8942 | 
|  | 66 | #define SIOCSIFTXQLEN 0x8943 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 67 | #define SIOCETHTOOL 0x8946 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 68 | #define SIOCGMIIPHY 0x8947 | 
|  | 69 | #define SIOCGMIIREG 0x8948 | 
|  | 70 | #define SIOCSMIIREG 0x8949 | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 71 | #define SIOCWANDEV 0x894A | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 72 | #define SIOCOUTQNSD 0x894B | 
| Christopher Ferris | 48af7cb | 2017-02-21 12:35:09 -0800 | [diff] [blame] | 73 | #define SIOCGSKNS 0x894C | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 74 | #define SIOCDARP 0x8953 | 
|  | 75 | #define SIOCGARP 0x8954 | 
| Elliott Hughes | 8cb52b0 | 2013-11-21 13:43:23 -0800 | [diff] [blame] | 76 | #define SIOCSARP 0x8955 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 77 | #define SIOCDRARP 0x8960 | 
|  | 78 | #define SIOCGRARP 0x8961 | 
|  | 79 | #define SIOCSRARP 0x8962 | 
| Elliott Hughes | 8cb52b0 | 2013-11-21 13:43:23 -0800 | [diff] [blame] | 80 | #define SIOCGIFMAP 0x8970 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 81 | #define SIOCSIFMAP 0x8971 | 
|  | 82 | #define SIOCADDDLCI 0x8980 | 
|  | 83 | #define SIOCDELDLCI 0x8981 | 
| Elliott Hughes | 8cb52b0 | 2013-11-21 13:43:23 -0800 | [diff] [blame] | 84 | #define SIOCGIFVLAN 0x8982 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 85 | #define SIOCSIFVLAN 0x8983 | 
|  | 86 | #define SIOCBONDENSLAVE 0x8990 | 
|  | 87 | #define SIOCBONDRELEASE 0x8991 | 
| Elliott Hughes | 8cb52b0 | 2013-11-21 13:43:23 -0800 | [diff] [blame] | 88 | #define SIOCBONDSETHWADDR 0x8992 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 89 | #define SIOCBONDSLAVEINFOQUERY 0x8993 | 
|  | 90 | #define SIOCBONDINFOQUERY 0x8994 | 
|  | 91 | #define SIOCBONDCHANGEACTIVE 0x8995 | 
| Elliott Hughes | 8cb52b0 | 2013-11-21 13:43:23 -0800 | [diff] [blame] | 92 | #define SIOCBRADDBR 0x89a0 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 93 | #define SIOCBRDELBR 0x89a1 | 
|  | 94 | #define SIOCBRADDIF 0x89a2 | 
|  | 95 | #define SIOCBRDELIF 0x89a3 | 
| Elliott Hughes | 8cb52b0 | 2013-11-21 13:43:23 -0800 | [diff] [blame] | 96 | #define SIOCSHWTSTAMP 0x89b0 | 
| Christopher Ferris | 38062f9 | 2014-07-09 15:33:25 -0700 | [diff] [blame] | 97 | #define SIOCGHWTSTAMP 0x89b1 | 
| Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 98 | #define SIOCDEVPRIVATE 0x89F0 | 
|  | 99 | #define SIOCPROTOPRIVATE 0x89E0 | 
|  | 100 | #endif |