libc_extra/android_linux/linux/
sockios.rs1use ::libc::c_int;
6use ::android_linux::asm_generic::ioctls::FIONREAD;
7use ::android_linux::asm_generic::ioctls::TIOCOUTQ;
8
9
10pub const SIOCINQ: c_int = FIONREAD;
11pub const SIOCOUTQ: c_int = TIOCOUTQ;
12pub const SIOCADDRT: c_int = 0x890B;
13pub const SIOCDELRT: c_int = 0x890C;
14pub const SIOCRTMSG: c_int = 0x890D;
15pub const SIOCGIFNAME: c_int = 0x8910;
16pub const SIOCSIFLINK: c_int = 0x8911;
17pub const SIOCGIFCONF: c_int = 0x8912;
18pub const SIOCGIFFLAGS: c_int = 0x8913;
19pub const SIOCSIFFLAGS: c_int = 0x8914;
20pub const SIOCGIFADDR: c_int = 0x8915;
21pub const SIOCSIFADDR: c_int = 0x8916;
22pub const SIOCGIFDSTADDR: c_int = 0x8917;
23pub const SIOCSIFDSTADDR: c_int = 0x8918;
24pub const SIOCGIFBRDADDR: c_int = 0x8919;
25pub const SIOCSIFBRDADDR: c_int = 0x891a;
26pub const SIOCGIFNETMASK: c_int = 0x891b;
27pub const SIOCSIFNETMASK: c_int = 0x891c;
28pub const SIOCGIFMETRIC: c_int = 0x891d;
29pub const SIOCSIFMETRIC: c_int = 0x891e;
30pub const SIOCGIFMEM: c_int = 0x891f;
31pub const SIOCSIFMEM: c_int = 0x8920;
32pub const SIOCGIFMTU: c_int = 0x8921;
33pub const SIOCSIFMTU: c_int = 0x8922;
34pub const SIOCSIFNAME: c_int = 0x8923;
35pub const SIOCSIFHWADDR: c_int = 0x8924;
36pub const SIOCGIFENCAP: c_int = 0x8925;
37pub const SIOCSIFENCAP: c_int = 0x8926 ;
38pub const SIOCGIFHWADDR: c_int = 0x8927;
39pub const SIOCGIFSLAVE: c_int = 0x8929;
40pub const SIOCSIFSLAVE: c_int = 0x8930;
41pub const SIOCADDMULTI: c_int = 0x8931;
42pub const SIOCDELMULTI: c_int = 0x8932;
43pub const SIOCGIFINDEX: c_int = 0x8933;
44pub const SIOGIFINDEX: c_int = SIOCGIFINDEX;
45pub const SIOCSIFPFLAGS: c_int = 0x8934;
46pub const SIOCGIFPFLAGS: c_int = 0x8935;
47pub const SIOCDIFADDR: c_int = 0x8936;
48pub const SIOCSIFHWBROADCAST: c_int = 0x8937;
49pub const SIOCGIFCOUNT: c_int = 0x8938;
50pub const SIOCGIFBR: c_int = 0x8940;
51pub const SIOCSIFBR: c_int = 0x8941;
52pub const SIOCGIFTXQLEN: c_int = 0x8942;
53pub const SIOCSIFTXQLEN: c_int = 0x8943;
54pub const SIOCETHTOOL: c_int = 0x8946;
55pub const SIOCGMIIPHY: c_int = 0x8947;
56pub const SIOCGMIIREG: c_int = 0x8948;
57pub const SIOCSMIIREG: c_int = 0x8949;
58pub const SIOCWANDEV: c_int = 0x894A;
59pub const SIOCOUTQNSD: c_int = 0x894B;
60pub const SIOCDARP: c_int = 0x8953;
61pub const SIOCGARP: c_int = 0x8954;
62pub const SIOCSARP: c_int = 0x8955;
63pub const SIOCDRARP: c_int = 0x8960;
64pub const SIOCGRARP: c_int = 0x8961;
65pub const SIOCSRARP: c_int = 0x8962;
66pub const SIOCGIFMAP: c_int = 0x8970;
67pub const SIOCSIFMAP: c_int = 0x8971;
68pub const SIOCADDDLCI: c_int = 0x8980;
69pub const SIOCDELDLCI: c_int = 0x8981;
70pub const SIOCGIFVLAN: c_int = 0x8982;
71pub const SIOCSIFVLAN: c_int = 0x8983;
72pub const SIOCBONDENSLAVE: c_int = 0x8990;
73pub const SIOCBONDRELEASE: c_int = 0x8991;
74pub const SIOCBONDSETHWADDR: c_int = 0x8992;
75pub const SIOCBONDSLAVEINFOQUERY: c_int = 0x8993;
76pub const SIOCBONDINFOQUERY: c_int = 0x8994;
77pub const SIOCBONDCHANGEACTIVE: c_int = 0x8995;
78pub const SIOCBRADDBR: c_int = 0x89a0;
79pub const SIOCBRDELBR: c_int = 0x89a1;
80pub const SIOCBRADDIF: c_int = 0x89a2;
81pub const SIOCBRDELIF: c_int = 0x89a3;
82pub const SIOCSHWTSTAMP: c_int = 0x89b0;
83pub const SIOCGHWTSTAMP: c_int = 0x89b1;
84
85pub const SIOCDEVPRIVATE: c_int = 0x89F0 ;
87pub const SIOCPROTOPRIVATE: c_int = 0x89E0;