mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 01:49:36 +00:00
![Kevin Darbyshire-Bryant](/assets/img/avatar_default.png)
Remove some enums from the UAPI definition that were only used internally and are NOT part of the UAPI. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
33 lines
585 B
C
33 lines
585 B
C
/* 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 */
|