net: sched: act_ctinfo: tidy UAPI definition

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>
This commit is contained in:
Kevin Darbyshire-Bryant 2019-06-19 18:41:10 +01:00 committed by David S. Miller
parent 6c9bef32c6
commit 16e5a266f5
2 changed files with 5 additions and 5 deletions

View File

@ -23,6 +23,11 @@ struct tcf_ctinfo {
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 */

View File

@ -26,9 +26,4 @@ enum {
#define TCA_CTINFO_MAX (__TCA_CTINFO_MAX - 1)
enum {
CTINFO_MODE_DSCP = _BITUL(0),
CTINFO_MODE_CPMARK = _BITUL(1)
};
#endif