blob: 3db3daf349e71cfadffb112e8989a291a40e8428 [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
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
Christopher Ferris48af7cb2017-02-21 12:35:09 -080025#define SOCK_IOC_TYPE 0x89
Ben Cheng655a7c02013-10-16 16:09:24 -070026#define SIOCADDRT 0x890B
27#define SIOCDELRT 0x890C
Ben Cheng655a7c02013-10-16 16:09:24 -070028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080029#define SIOCRTMSG 0x890D
Ben Cheng655a7c02013-10-16 16:09:24 -070030#define SIOCGIFNAME 0x8910
31#define SIOCSIFLINK 0x8911
32#define SIOCGIFCONF 0x8912
Ben Cheng655a7c02013-10-16 16:09:24 -070033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080034#define SIOCGIFFLAGS 0x8913
Ben Cheng655a7c02013-10-16 16:09:24 -070035#define SIOCSIFFLAGS 0x8914
36#define SIOCGIFADDR 0x8915
37#define SIOCSIFADDR 0x8916
Ben Cheng655a7c02013-10-16 16:09:24 -070038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080039#define SIOCGIFDSTADDR 0x8917
Ben Cheng655a7c02013-10-16 16:09:24 -070040#define SIOCSIFDSTADDR 0x8918
41#define SIOCGIFBRDADDR 0x8919
42#define SIOCSIFBRDADDR 0x891a
Ben Cheng655a7c02013-10-16 16:09:24 -070043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080044#define SIOCGIFNETMASK 0x891b
Ben Cheng655a7c02013-10-16 16:09:24 -070045#define SIOCSIFNETMASK 0x891c
46#define SIOCGIFMETRIC 0x891d
47#define SIOCSIFMETRIC 0x891e
Ben Cheng655a7c02013-10-16 16:09:24 -070048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080049#define SIOCGIFMEM 0x891f
Ben Cheng655a7c02013-10-16 16:09:24 -070050#define SIOCSIFMEM 0x8920
51#define SIOCGIFMTU 0x8921
52#define SIOCSIFMTU 0x8922
Ben Cheng655a7c02013-10-16 16:09:24 -070053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080054#define SIOCSIFNAME 0x8923
Ben Cheng655a7c02013-10-16 16:09:24 -070055#define SIOCSIFHWADDR 0x8924
56#define SIOCGIFENCAP 0x8925
57#define SIOCSIFENCAP 0x8926
Ben Cheng655a7c02013-10-16 16:09:24 -070058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080059#define SIOCGIFHWADDR 0x8927
Ben Cheng655a7c02013-10-16 16:09:24 -070060#define SIOCGIFSLAVE 0x8929
61#define SIOCSIFSLAVE 0x8930
62#define SIOCADDMULTI 0x8931
Ben Cheng655a7c02013-10-16 16:09:24 -070063/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080064#define SIOCDELMULTI 0x8932
Ben Cheng655a7c02013-10-16 16:09:24 -070065#define SIOCGIFINDEX 0x8933
66#define SIOGIFINDEX SIOCGIFINDEX
67#define SIOCSIFPFLAGS 0x8934
Ben Cheng655a7c02013-10-16 16:09:24 -070068/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080069#define SIOCGIFPFLAGS 0x8935
Ben Cheng655a7c02013-10-16 16:09:24 -070070#define SIOCDIFADDR 0x8936
71#define SIOCSIFHWBROADCAST 0x8937
72#define SIOCGIFCOUNT 0x8938
Christopher Ferris38062f92014-07-09 15:33:25 -070073/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080074#define SIOCGIFBR 0x8940
Ben Cheng655a7c02013-10-16 16:09:24 -070075#define SIOCSIFBR 0x8941
76#define SIOCGIFTXQLEN 0x8942
77#define SIOCSIFTXQLEN 0x8943
Christopher Ferris38062f92014-07-09 15:33:25 -070078/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080079#define SIOCETHTOOL 0x8946
Ben Cheng655a7c02013-10-16 16:09:24 -070080#define SIOCGMIIPHY 0x8947
81#define SIOCGMIIREG 0x8948
82#define SIOCSMIIREG 0x8949
Christopher Ferris38062f92014-07-09 15:33:25 -070083/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferris48af7cb2017-02-21 12:35:09 -080084#define SIOCWANDEV 0x894A
Ben Cheng655a7c02013-10-16 16:09:24 -070085#define SIOCOUTQNSD 0x894B
Christopher Ferris48af7cb2017-02-21 12:35:09 -080086#define SIOCGSKNS 0x894C
Ben Cheng655a7c02013-10-16 16:09:24 -070087#define SIOCDARP 0x8953
Christopher Ferris48af7cb2017-02-21 12:35:09 -080088/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070089#define SIOCGARP 0x8954
Elliott Hughes8cb52b02013-11-21 13:43:23 -080090#define SIOCSARP 0x8955
Ben Cheng655a7c02013-10-16 16:09:24 -070091#define SIOCDRARP 0x8960
92#define SIOCGRARP 0x8961
Christopher Ferris48af7cb2017-02-21 12:35:09 -080093/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070094#define SIOCSRARP 0x8962
Elliott Hughes8cb52b02013-11-21 13:43:23 -080095#define SIOCGIFMAP 0x8970
Ben Cheng655a7c02013-10-16 16:09:24 -070096#define SIOCSIFMAP 0x8971
97#define SIOCADDDLCI 0x8980
Christopher Ferris48af7cb2017-02-21 12:35:09 -080098/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -070099#define SIOCDELDLCI 0x8981
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800100#define SIOCGIFVLAN 0x8982
Ben Cheng655a7c02013-10-16 16:09:24 -0700101#define SIOCSIFVLAN 0x8983
102#define SIOCBONDENSLAVE 0x8990
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700104#define SIOCBONDRELEASE 0x8991
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800105#define SIOCBONDSETHWADDR 0x8992
Ben Cheng655a7c02013-10-16 16:09:24 -0700106#define SIOCBONDSLAVEINFOQUERY 0x8993
107#define SIOCBONDINFOQUERY 0x8994
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700109#define SIOCBONDCHANGEACTIVE 0x8995
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800110#define SIOCBRADDBR 0x89a0
Ben Cheng655a7c02013-10-16 16:09:24 -0700111#define SIOCBRDELBR 0x89a1
112#define SIOCBRADDIF 0x89a2
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700114#define SIOCBRDELIF 0x89a3
Elliott Hughes8cb52b02013-11-21 13:43:23 -0800115#define SIOCSHWTSTAMP 0x89b0
Christopher Ferris38062f92014-07-09 15:33:25 -0700116#define SIOCGHWTSTAMP 0x89b1
Ben Cheng655a7c02013-10-16 16:09:24 -0700117#define SIOCDEVPRIVATE 0x89F0
Christopher Ferris48af7cb2017-02-21 12:35:09 -0800118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700119#define SIOCPROTOPRIVATE 0x89E0
120#endif