182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris/****************************************************************************
282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   This header was automatically generated from a Linux kernel header
582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   of the same name, to make information necessary for userspace to
682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   call into the kernel available to libc.  It contains only constants,
782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   structures, and macros generated from the original header, and thus,
882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   contains no copyrightable information.
982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1082d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   To edit the content of this header, modify the corresponding
1182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   source file (e.g. under external/kernel-headers/original/) then
1282d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   run bionic/libc/kernel/tools/update_all.py
1382d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1482d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   Any manual change here will be lost the next time this script will
1582d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***   be run. You've been warned!
1682d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ***
1782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************
1882d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris ****************************************************************************/
19525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#ifndef __LINUX_TC_SAMPLE_H
20525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#define __LINUX_TC_SAMPLE_H
2182d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#include <linux/types.h>
22525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#include <linux/pkt_cls.h>
23525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#include <linux/if_ether.h>
24525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#define TCA_ACT_SAMPLE 26
25525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferrisstruct tc_sample {
26525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  tc_gen;
2782d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris};
28525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferrisenum {
29525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  TCA_SAMPLE_UNSPEC,
30525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  TCA_SAMPLE_TM,
31525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  TCA_SAMPLE_PARMS,
32525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  TCA_SAMPLE_RATE,
33525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  TCA_SAMPLE_TRUNC_SIZE,
34525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  TCA_SAMPLE_PSAMPLE_GROUP,
35525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  TCA_SAMPLE_PAD,
36525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris  __TCA_SAMPLE_MAX
37525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris};
38525ce914edf136d2bd02ac8c404d56c52e737f4dChristopher Ferris#define TCA_SAMPLE_MAX (__TCA_SAMPLE_MAX - 1)
3982d7504cd7d5c8d2175fb3b1a4ee3518cad6aa0fChristopher Ferris#endif
40