2009-03-04 04:28:35 +01:00
|
|
|
/****************************************************************************
|
|
|
|
****************************************************************************
|
|
|
|
***
|
|
|
|
*** This header was automatically generated from a Linux kernel header
|
|
|
|
*** of the same name, to make information necessary for userspace to
|
|
|
|
*** call into the kernel available to libc. It contains only constants,
|
|
|
|
*** structures, and macros generated from the original header, and thus,
|
|
|
|
*** contains no copyrightable information.
|
|
|
|
***
|
2012-03-08 06:13:49 +01:00
|
|
|
*** To edit the content of this header, modify the corresponding
|
|
|
|
*** source file (e.g. under external/kernel-headers/original/) then
|
|
|
|
*** run bionic/libc/kernel/tools/update_all.py
|
|
|
|
***
|
|
|
|
*** Any manual change here will be lost the next time this script will
|
|
|
|
*** be run. You've been warned!
|
|
|
|
***
|
2009-03-04 04:28:35 +01:00
|
|
|
****************************************************************************
|
|
|
|
****************************************************************************/
|
|
|
|
#ifndef _LINUX_SOCKIOS_H
|
|
|
|
#define _LINUX_SOCKIOS_H
|
|
|
|
#include <asm/sockios.h>
|
|
|
|
#define SIOCINQ FIONREAD
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2009-03-04 04:28:35 +01:00
|
|
|
#define SIOCOUTQ TIOCOUTQ
|
2013-01-30 03:15:55 +01:00
|
|
|
#define SIOCADDRT 0x890B
|
|
|
|
#define SIOCDELRT 0x890C
|
|
|
|
#define SIOCRTMSG 0x890D
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCGIFNAME 0x8910
|
|
|
|
#define SIOCSIFLINK 0x8911
|
|
|
|
#define SIOCGIFCONF 0x8912
|
|
|
|
#define SIOCGIFFLAGS 0x8913
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCSIFFLAGS 0x8914
|
|
|
|
#define SIOCGIFADDR 0x8915
|
|
|
|
#define SIOCSIFADDR 0x8916
|
|
|
|
#define SIOCGIFDSTADDR 0x8917
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCSIFDSTADDR 0x8918
|
|
|
|
#define SIOCGIFBRDADDR 0x8919
|
|
|
|
#define SIOCSIFBRDADDR 0x891a
|
|
|
|
#define SIOCGIFNETMASK 0x891b
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCSIFNETMASK 0x891c
|
|
|
|
#define SIOCGIFMETRIC 0x891d
|
|
|
|
#define SIOCSIFMETRIC 0x891e
|
|
|
|
#define SIOCGIFMEM 0x891f
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCSIFMEM 0x8920
|
|
|
|
#define SIOCGIFMTU 0x8921
|
|
|
|
#define SIOCSIFMTU 0x8922
|
|
|
|
#define SIOCSIFNAME 0x8923
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCSIFHWADDR 0x8924
|
|
|
|
#define SIOCGIFENCAP 0x8925
|
|
|
|
#define SIOCSIFENCAP 0x8926
|
|
|
|
#define SIOCGIFHWADDR 0x8927
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCGIFSLAVE 0x8929
|
2009-03-04 04:28:35 +01:00
|
|
|
#define SIOCSIFSLAVE 0x8930
|
2013-01-30 03:15:55 +01:00
|
|
|
#define SIOCADDMULTI 0x8931
|
2009-03-04 04:28:35 +01:00
|
|
|
#define SIOCDELMULTI 0x8932
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-01-30 03:15:55 +01:00
|
|
|
#define SIOCGIFINDEX 0x8933
|
|
|
|
#define SIOGIFINDEX SIOCGIFINDEX
|
|
|
|
#define SIOCSIFPFLAGS 0x8934
|
2009-03-04 04:28:35 +01:00
|
|
|
#define SIOCGIFPFLAGS 0x8935
|
2012-03-08 06:13:49 +01:00
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
2013-01-30 03:15:55 +01:00
|
|
|
#define SIOCDIFADDR 0x8936
|
|
|
|
#define SIOCSIFHWBROADCAST 0x8937
|
|
|
|
#define SIOCGIFCOUNT 0x8938
|
|
|
|
#define SIOCKILLADDR 0x8939
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCGIFBR 0x8940
|
|
|
|
#define SIOCSIFBR 0x8941
|
|
|
|
#define SIOCGIFTXQLEN 0x8942
|
|
|
|
#define SIOCSIFTXQLEN 0x8943
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCETHTOOL 0x8946
|
|
|
|
#define SIOCGMIIPHY 0x8947
|
|
|
|
#define SIOCGMIIREG 0x8948
|
|
|
|
#define SIOCSMIIREG 0x8949
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCWANDEV 0x894A
|
|
|
|
#define SIOCDARP 0x8953
|
|
|
|
#define SIOCGARP 0x8954
|
|
|
|
#define SIOCSARP 0x8955
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCDRARP 0x8960
|
|
|
|
#define SIOCGRARP 0x8961
|
|
|
|
#define SIOCSRARP 0x8962
|
|
|
|
#define SIOCGIFMAP 0x8970
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCSIFMAP 0x8971
|
|
|
|
#define SIOCADDDLCI 0x8980
|
|
|
|
#define SIOCDELDLCI 0x8981
|
|
|
|
#define SIOCGIFVLAN 0x8982
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCSIFVLAN 0x8983
|
|
|
|
#define SIOCBONDENSLAVE 0x8990
|
|
|
|
#define SIOCBONDRELEASE 0x8991
|
|
|
|
#define SIOCBONDSETHWADDR 0x8992
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCBONDSLAVEINFOQUERY 0x8993
|
|
|
|
#define SIOCBONDINFOQUERY 0x8994
|
|
|
|
#define SIOCBONDCHANGEACTIVE 0x8995
|
|
|
|
#define SIOCBRADDBR 0x89a0
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCBRDELBR 0x89a1
|
|
|
|
#define SIOCBRADDIF 0x89a2
|
|
|
|
#define SIOCBRDELIF 0x89a3
|
|
|
|
#define SIOCDEVPRIVATE 0x89F0
|
|
|
|
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
|
|
|
|
#define SIOCPROTOPRIVATE 0x89E0
|
2009-03-04 04:28:35 +01:00
|
|
|
#endif
|