Home | History | Annotate | Download | only in linux
      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 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     24 #define SIOCOUTQ TIOCOUTQ
     25 #define SOCK_IOC_TYPE 0x89
     26 #define SIOCADDRT 0x890B
     27 #define SIOCDELRT 0x890C
     28 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     29 #define SIOCRTMSG 0x890D
     30 #define SIOCGIFNAME 0x8910
     31 #define SIOCSIFLINK 0x8911
     32 #define SIOCGIFCONF 0x8912
     33 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     34 #define SIOCGIFFLAGS 0x8913
     35 #define SIOCSIFFLAGS 0x8914
     36 #define SIOCGIFADDR 0x8915
     37 #define SIOCSIFADDR 0x8916
     38 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     39 #define SIOCGIFDSTADDR 0x8917
     40 #define SIOCSIFDSTADDR 0x8918
     41 #define SIOCGIFBRDADDR 0x8919
     42 #define SIOCSIFBRDADDR 0x891a
     43 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     44 #define SIOCGIFNETMASK 0x891b
     45 #define SIOCSIFNETMASK 0x891c
     46 #define SIOCGIFMETRIC 0x891d
     47 #define SIOCSIFMETRIC 0x891e
     48 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     49 #define SIOCGIFMEM 0x891f
     50 #define SIOCSIFMEM 0x8920
     51 #define SIOCGIFMTU 0x8921
     52 #define SIOCSIFMTU 0x8922
     53 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     54 #define SIOCSIFNAME 0x8923
     55 #define SIOCSIFHWADDR 0x8924
     56 #define SIOCGIFENCAP 0x8925
     57 #define SIOCSIFENCAP 0x8926
     58 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     59 #define SIOCGIFHWADDR 0x8927
     60 #define SIOCGIFSLAVE 0x8929
     61 #define SIOCSIFSLAVE 0x8930
     62 #define SIOCADDMULTI 0x8931
     63 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     64 #define SIOCDELMULTI 0x8932
     65 #define SIOCGIFINDEX 0x8933
     66 #define SIOGIFINDEX SIOCGIFINDEX
     67 #define SIOCSIFPFLAGS 0x8934
     68 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     69 #define SIOCGIFPFLAGS 0x8935
     70 #define SIOCDIFADDR 0x8936
     71 #define SIOCSIFHWBROADCAST 0x8937
     72 #define SIOCGIFCOUNT 0x8938
     73 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     74 #define SIOCGIFBR 0x8940
     75 #define SIOCSIFBR 0x8941
     76 #define SIOCGIFTXQLEN 0x8942
     77 #define SIOCSIFTXQLEN 0x8943
     78 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     79 #define SIOCETHTOOL 0x8946
     80 #define SIOCGMIIPHY 0x8947
     81 #define SIOCGMIIREG 0x8948
     82 #define SIOCSMIIREG 0x8949
     83 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     84 #define SIOCWANDEV 0x894A
     85 #define SIOCOUTQNSD 0x894B
     86 #define SIOCGSKNS 0x894C
     87 #define SIOCDARP 0x8953
     88 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     89 #define SIOCGARP 0x8954
     90 #define SIOCSARP 0x8955
     91 #define SIOCDRARP 0x8960
     92 #define SIOCGRARP 0x8961
     93 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     94 #define SIOCSRARP 0x8962
     95 #define SIOCGIFMAP 0x8970
     96 #define SIOCSIFMAP 0x8971
     97 #define SIOCADDDLCI 0x8980
     98 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
     99 #define SIOCDELDLCI 0x8981
    100 #define SIOCGIFVLAN 0x8982
    101 #define SIOCSIFVLAN 0x8983
    102 #define SIOCBONDENSLAVE 0x8990
    103 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    104 #define SIOCBONDRELEASE 0x8991
    105 #define SIOCBONDSETHWADDR 0x8992
    106 #define SIOCBONDSLAVEINFOQUERY 0x8993
    107 #define SIOCBONDINFOQUERY 0x8994
    108 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    109 #define SIOCBONDCHANGEACTIVE 0x8995
    110 #define SIOCBRADDBR 0x89a0
    111 #define SIOCBRDELBR 0x89a1
    112 #define SIOCBRADDIF 0x89a2
    113 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    114 #define SIOCBRDELIF 0x89a3
    115 #define SIOCSHWTSTAMP 0x89b0
    116 #define SIOCGHWTSTAMP 0x89b1
    117 #define SIOCDEVPRIVATE 0x89F0
    118 /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
    119 #define SIOCPROTOPRIVATE 0x89E0
    120 #endif
    121