mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
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:
parent
6c9bef32c6
commit
16e5a266f5
@ -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 */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user