Commit 16e5a266 authored by Kevin Darbyshire-Bryant's avatar Kevin Darbyshire-Bryant Committed by David S. Miller

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: default avatarKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6c9bef32
...@@ -23,6 +23,11 @@ struct tcf_ctinfo { ...@@ -23,6 +23,11 @@ struct tcf_ctinfo {
u64 stats_cpmark_set; u64 stats_cpmark_set;
}; };
enum {
CTINFO_MODE_DSCP = BIT(0),
CTINFO_MODE_CPMARK = BIT(1)
};
#define to_ctinfo(a) ((struct tcf_ctinfo *)a) #define to_ctinfo(a) ((struct tcf_ctinfo *)a)
#endif /* __NET_TC_CTINFO_H */ #endif /* __NET_TC_CTINFO_H */
...@@ -26,9 +26,4 @@ enum { ...@@ -26,9 +26,4 @@ enum {
#define TCA_CTINFO_MAX (__TCA_CTINFO_MAX - 1) #define TCA_CTINFO_MAX (__TCA_CTINFO_MAX - 1)
enum {
CTINFO_MODE_DSCP = _BITUL(0),
CTINFO_MODE_CPMARK = _BITUL(1)
};
#endif #endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment