![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /proc/self/root/usr/src/kernels/4.18.0-553.50.1.el8_10.x86_64/include/net/tc_act/ |
/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NET_TC_CTINFO_H #define __NET_TC_CTINFO_H #include <net/act_api.h> struct tcf_ctinfo_params { struct rcu_head rcu; struct net *net; u32 dscpmask; u32 dscpstatemask; u32 cpmarkmask; u16 zone; u8 mode; u8 dscpmaskshift; }; struct tcf_ctinfo { struct tc_action common; struct tcf_ctinfo_params __rcu *params; u64 stats_dscp_set; u64 stats_dscp_error; u64 stats_cpmark_set; }; enum { CTINFO_MODE_DSCP = BIT(0), CTINFO_MODE_CPMARK = BIT(1) }; #define to_ctinfo(a) ((struct tcf_ctinfo *)a) #endif /* __NET_TC_CTINFO_H */