18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 28c2ecf20Sopenharmony_ci#ifndef __LINUX_TC_SAMPLE_H 38c2ecf20Sopenharmony_ci#define __LINUX_TC_SAMPLE_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <linux/types.h> 68c2ecf20Sopenharmony_ci#include <linux/pkt_cls.h> 78c2ecf20Sopenharmony_ci#include <linux/if_ether.h> 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_cistruct tc_sample { 108c2ecf20Sopenharmony_ci tc_gen; 118c2ecf20Sopenharmony_ci}; 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_cienum { 148c2ecf20Sopenharmony_ci TCA_SAMPLE_UNSPEC, 158c2ecf20Sopenharmony_ci TCA_SAMPLE_TM, 168c2ecf20Sopenharmony_ci TCA_SAMPLE_PARMS, 178c2ecf20Sopenharmony_ci TCA_SAMPLE_RATE, 188c2ecf20Sopenharmony_ci TCA_SAMPLE_TRUNC_SIZE, 198c2ecf20Sopenharmony_ci TCA_SAMPLE_PSAMPLE_GROUP, 208c2ecf20Sopenharmony_ci TCA_SAMPLE_PAD, 218c2ecf20Sopenharmony_ci __TCA_SAMPLE_MAX 228c2ecf20Sopenharmony_ci}; 238c2ecf20Sopenharmony_ci#define TCA_SAMPLE_MAX (__TCA_SAMPLE_MAX - 1) 248c2ecf20Sopenharmony_ci 258c2ecf20Sopenharmony_ci#endif 26