11dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project/****************************************************************************
21dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project ****************************************************************************
31dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project ***
41dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project ***   This header was automatically generated from a Linux kernel header
51dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project ***   of the same name, to make information necessary for userspace to
61dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project ***   call into the kernel available to libc.  It contains only constants,
71dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project ***   structures, and macros generated from the original header, and thus,
81dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project ***   contains no copyrightable information.
91dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project ***
10654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng ***   To edit the content of this header, modify the corresponding
11654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng ***   source file (e.g. under external/kernel-headers/original/) then
12654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng ***   run bionic/libc/kernel/tools/update_all.py
13654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng ***
14654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng ***   Any manual change here will be lost the next time this script will
15654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng ***   be run. You've been warned!
16654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng ***
171dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project ****************************************************************************
181dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project ****************************************************************************/
191dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#ifndef __LINUX_PKT_SCHED_H
201dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define __LINUX_PKT_SCHED_H
219163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat#include <linux/types.h>
221dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_PRIO_BESTEFFORT 0
23654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
241dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_PRIO_FILLER 1
251dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_PRIO_BULK 2
261dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_PRIO_INTERACTIVE_BULK 4
271dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_PRIO_INTERACTIVE 6
28654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
291dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_PRIO_CONTROL 7
301dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_PRIO_MAX 15
311dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_stats
321dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
33654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
341dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u64 bytes;
351dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 packets;
361dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 drops;
371dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 overlimits;
38654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
391dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 bps;
401dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 pps;
411dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 qlen;
421dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 backlog;
43654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
441dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
451dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_estimator
461dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
471dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project signed char interval;
48654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
491dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char ewma_log;
501dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
511dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_H_MAJ_MASK (0xFFFF0000U)
521dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_H_MIN_MASK (0x0000FFFFU)
53654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
541dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK)
551dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_H_MIN(h) ((h)&TC_H_MIN_MASK)
561dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_H_MAKE(maj,min) (((maj)&TC_H_MAJ_MASK)|((min)&TC_H_MIN_MASK))
571dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_H_UNSPEC (0U)
58654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
591dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_H_ROOT (0xFFFFFFFFU)
601dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_H_INGRESS (0xFFFFFFF1U)
611dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_ratespec
621dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
63654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
641dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char cell_log;
651dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char __reserved;
669163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat unsigned short overhead;
679163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat short cell_align;
68654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
691dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned short mpu;
701dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 rate;
711dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
729163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat#define TC_RTAB_SIZE 1024
73654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
749163872132a3e92f986b1d684badb1dd4482ad8eSan Mehatstruct tc_sizespec {
759163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat unsigned char cell_log;
769163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat unsigned char size_log;
779163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat short cell_align;
78654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
799163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat int overhead;
809163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat unsigned int linklayer;
819163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat unsigned int mpu;
829163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat unsigned int mtu;
83654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
849163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat unsigned int tsize;
859163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat};
869163872132a3e92f986b1d684badb1dd4482ad8eSan Mehatenum {
879163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat TCA_STAB_UNSPEC,
88654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
899163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat TCA_STAB_BASE,
909163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat TCA_STAB_DATA,
919163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat __TCA_STAB_MAX
929163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat};
93654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
949163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat#define TCA_STAB_MAX (__TCA_STAB_MAX - 1)
951dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_fifo_qopt
961dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
971dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 limit;
98654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
991dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
1001dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCQ_PRIO_BANDS 16
1011dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCQ_MIN_PRIO_BANDS 2
1021dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_prio_qopt
103654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1041dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
1051dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project int bands;
1061dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u8 priomap[TC_PRIO_MAX+1];
1071dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
108654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1099163872132a3e92f986b1d684badb1dd4482ad8eSan Mehatstruct tc_multiq_qopt {
1109163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat __u16 bands;
1119163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat __u16 max_bands;
1129163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat};
113654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1141dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_tbf_qopt
1151dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
1161dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project struct tc_ratespec rate;
1171dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project struct tc_ratespec peakrate;
118654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1191dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 limit;
1201dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 buffer;
1211dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 mtu;
1221dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
123654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1241dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectenum
1251dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
1261dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_TBF_UNSPEC,
1271dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_TBF_PARMS,
128654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1291dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_TBF_RTAB,
1301dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_TBF_PTAB,
1311dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __TCA_TBF_MAX,
1321dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
133654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1341dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCA_TBF_MAX (__TCA_TBF_MAX - 1)
1351dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_sfq_qopt
1361dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
1371dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned quantum;
138654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1391dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project int perturb_period;
1401dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 limit;
1411dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned divisor;
1421dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned flows;
143654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1441dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
1459163872132a3e92f986b1d684badb1dd4482ad8eSan Mehatstruct tc_sfq_xstats
1469163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat{
1479163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat __s32 allot;
148654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1499163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat};
1501dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectenum
1511dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
1521dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_RED_UNSPEC,
153654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1541dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_RED_PARMS,
1551dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_RED_STAB,
1561dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __TCA_RED_MAX,
1571dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
158654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1591dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCA_RED_MAX (__TCA_RED_MAX - 1)
1601dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_red_qopt
1611dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
1621dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 limit;
163654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1641dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 qth_min;
1651dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 qth_max;
1661dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char Wlog;
1671dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char Plog;
168654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1691dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char Scell_log;
1701dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char flags;
1711dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_RED_ECN 1
1721dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_RED_HARDDROP 2
173654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1741dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
1751dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_red_xstats
1761dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
1771dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 early;
178654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1791dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 pdrop;
1801dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 other;
1811dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 marked;
1821dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
183654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1841dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define MAX_DPs 16
1851dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectenum
1861dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
1871dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_GRED_UNSPEC,
188654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1891dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_GRED_PARMS,
1901dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_GRED_STAB,
1911dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_GRED_DPS,
1921dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __TCA_GRED_MAX,
193654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1941dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
1951dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCA_GRED_MAX (__TCA_GRED_MAX - 1)
1961dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_gred_qopt
1971dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
198654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
1991dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 limit;
2001dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 qth_min;
2011dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 qth_max;
2021dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 DP;
203654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2041dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 backlog;
2051dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 qave;
2061dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 forced;
2071dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 early;
208654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2091dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 other;
2101dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 pdrop;
2111dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u8 Wlog;
2121dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u8 Plog;
213654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2141dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u8 Scell_log;
2151dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u8 prio;
2161dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 packets;
2171dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 bytesin;
218654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2191dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
2201dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_gred_sopt
2211dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
2221dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 DPs;
223654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2241dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 def_DP;
2251dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u8 grio;
2261dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u8 flags;
2271dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u16 pad1;
228654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2291dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
2301dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_HTB_NUMPRIO 8
2311dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_HTB_MAXDEPTH 8
2321dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_HTB_PROTOVER 3
233654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2341dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_htb_opt
2351dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
2361dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project struct tc_ratespec rate;
2371dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project struct tc_ratespec ceil;
238654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2391dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 buffer;
2401dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 cbuffer;
2411dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 quantum;
2421dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 level;
243654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2441dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 prio;
2451dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
2461dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_htb_glob
2471dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
248654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2491dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 version;
2501dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 rate2quantum;
2511dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 defcls;
2521dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 debug;
253654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2541dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 direct_pkts;
2551dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
2561dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectenum
2571dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
258654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2591dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_HTB_UNSPEC,
2601dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_HTB_PARMS,
2611dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_HTB_INIT,
2621dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_HTB_CTAB,
263654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2641dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_HTB_RTAB,
2651dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __TCA_HTB_MAX,
2661dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
2671dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCA_HTB_MAX (__TCA_HTB_MAX - 1)
268654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2691dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_htb_xstats
2701dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
2711dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 lends;
2721dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 borrows;
273654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2741dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 giants;
2751dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 tokens;
2761dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 ctokens;
2771dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
278654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2791dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_hfsc_qopt
2801dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
2811dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u16 defcls;
2821dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
283654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2841dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_service_curve
2851dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
2861dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 m1;
2871dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 d;
288654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2891dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 m2;
2901dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
2911dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_hfsc_stats
2921dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
293654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2941dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u64 work;
2951dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u64 rtwork;
2961dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 period;
2971dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 level;
298654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
2991dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
3001dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectenum
3011dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
3021dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_HFSC_UNSPEC,
303654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3041dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_HFSC_RSC,
3051dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_HFSC_FSC,
3061dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_HFSC_USC,
3071dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __TCA_HFSC_MAX,
308654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3091dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
3101dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCA_HFSC_MAX (__TCA_HFSC_MAX - 1)
3111dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_CBQ_MAXPRIO 8
3121dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_CBQ_MAXLEVEL 8
313654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3141dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_CBQ_DEF_EWMA 5
3151dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_cbq_lssopt
3161dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
3171dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char change;
318654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3191dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char flags;
3201dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCF_CBQ_LSS_BOUNDED 1
3211dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCF_CBQ_LSS_ISOLATED 2
3221dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char ewma_log;
323654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3241dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char level;
3251dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCF_CBQ_LSS_FLAGS 1
3261dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCF_CBQ_LSS_EWMA 2
3271dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCF_CBQ_LSS_MAXIDLE 4
328654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3291dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCF_CBQ_LSS_MINIDLE 8
3301dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCF_CBQ_LSS_OFFTIME 0x10
3311dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCF_CBQ_LSS_AVPKT 0x20
3321dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 maxidle;
333654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3341dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 minidle;
3351dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 offtime;
3361dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 avpkt;
3371dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
338654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3391dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_cbq_wrropt
3401dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
3411dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char flags;
3421dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char priority;
343654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3441dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char cpriority;
3451dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char __reserved;
3461dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 allot;
3471dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 weight;
348654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3491dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
3501dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_cbq_ovl
3511dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
3521dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char strategy;
353654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3541dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_CBQ_OVL_CLASSIC 0
3551dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_CBQ_OVL_DELAY 1
3561dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_CBQ_OVL_LOWPRIO 2
3571dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_CBQ_OVL_DROP 3
358654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3591dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TC_CBQ_OVL_RCLASSIC 4
3601dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char priority2;
3611dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u16 pad;
3621dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 penalty;
363654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3641dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
3651dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_cbq_police
3661dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
3671dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char police;
368654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3691dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned char __res1;
3701dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project unsigned short __res2;
3711dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
3721dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_cbq_fopt
373654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3741dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
3751dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 split;
3761dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 defmap;
3771dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 defchange;
378654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3791dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
3801dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_cbq_xstats
3811dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
3821dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 borrows;
383654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3841dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 overactions;
3851dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __s32 avgidle;
3861dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __s32 undertime;
3871dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
388654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3891dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectenum
3901dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
3911dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_CBQ_UNSPEC,
3921dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_CBQ_LSSOPT,
393654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3941dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_CBQ_WRROPT,
3951dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_CBQ_FOPT,
3961dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_CBQ_OVL_STRATEGY,
3971dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_CBQ_RATE,
398654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
3991dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_CBQ_RTAB,
4001dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_CBQ_POLICE,
4011dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __TCA_CBQ_MAX,
4021dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
403654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4041dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCA_CBQ_MAX (__TCA_CBQ_MAX - 1)
4051dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectenum {
4061dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_DSMARK_UNSPEC,
4071dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_DSMARK_INDICES,
408654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4091dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_DSMARK_DEFAULT_INDEX,
4101dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_DSMARK_SET_TC_INDEX,
4111dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_DSMARK_MASK,
4121dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_DSMARK_VALUE,
413654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4141dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __TCA_DSMARK_MAX,
4151dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
4161dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCA_DSMARK_MAX (__TCA_DSMARK_MAX - 1)
4171dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectenum {
418654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4191dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_ATM_UNSPEC,
4201dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_ATM_FD,
4211dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_ATM_PTR,
4221dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_ATM_HDR,
423654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4241dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_ATM_EXCESS,
4251dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_ATM_ADDR,
4261dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_ATM_STATE,
4271dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __TCA_ATM_MAX,
428654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4291dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
4301dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCA_ATM_MAX (__TCA_ATM_MAX - 1)
4311dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectenum
4321dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
433654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4341dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_NETEM_UNSPEC,
4351dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_NETEM_CORR,
4361dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_NETEM_DELAY_DIST,
4371dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_NETEM_REORDER,
438654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4391dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project TCA_NETEM_CORRUPT,
4401dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __TCA_NETEM_MAX,
4411dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
4421dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define TCA_NETEM_MAX (__TCA_NETEM_MAX - 1)
443654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4441dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_netem_qopt
4451dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
4461dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 latency;
4471dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 limit;
448654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4491dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 loss;
4501dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 gap;
4511dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 duplicate;
4521dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 jitter;
453654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4541dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
4551dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_netem_corr
4561dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
4571dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 delay_corr;
458654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4591dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 loss_corr;
4601dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 dup_corr;
4611dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
4621dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_netem_reorder
463654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4641dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
4651dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 probability;
4661dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 correlation;
4671dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
468654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4691dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Projectstruct tc_netem_corrupt
4701dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project{
4711dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 probability;
4721dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project __u32 correlation;
473654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4741dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project};
4751dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#define NETEM_DIST_SCALE 8192
4769163872132a3e92f986b1d684badb1dd4482ad8eSan Mehatenum
4779163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat{
478654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4799163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat TCA_DRR_UNSPEC,
4809163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat TCA_DRR_QUANTUM,
4819163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat __TCA_DRR_MAX
4829163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat};
483654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4849163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat#define TCA_DRR_MAX (__TCA_DRR_MAX - 1)
4859163872132a3e92f986b1d684badb1dd4482ad8eSan Mehatstruct tc_drr_stats
4869163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat{
4879163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat __u32 deficit;
488654325de026a2ca5b76b8b40e576c959d8211fdcBen Cheng/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
4899163872132a3e92f986b1d684badb1dd4482ad8eSan Mehat};
4901dc9e472e19acfe6dc7f41e429236e7eef7ceda1The Android Open Source Project#endif
491