summaryrefslogtreecommitdiffstats
path: root/include/net/tc_act
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2019-06-19 19:41:10 +0200
committerDavid S. Miller <davem@davemloft.net>2019-06-19 23:11:01 +0200
commit16e5a266f51639492ac30761d043525d7d43f4c8 (patch)
tree5b0e7506105280a9ed24b252c4ac1e8b0d7d5c9d /include/net/tc_act
parentMerge branch 'inet-fix-defrag-units-dismantle-races' (diff)
downloadlinux-16e5a266f51639492ac30761d043525d7d43f4c8.tar.xz
linux-16e5a266f51639492ac30761d043525d7d43f4c8.zip
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>
Diffstat (limited to 'include/net/tc_act')
-rw-r--r--include/net/tc_act/tc_ctinfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_ctinfo.h b/include/net/tc_act/tc_ctinfo.h
index d6a688571672..f071c1d70a25 100644
--- a/include/net/tc_act/tc_ctinfo.h
+++ b/include/net/tc_act/tc_ctinfo.h
@@ -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 */