aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tc_act/tc_vlan.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tc_act/tc_vlan.h')
-rw-r--r--include/net/tc_act/tc_vlan.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/tc_act/tc_vlan.h b/include/net/tc_act/tc_vlan.h
index 48cca321ee6c..9690c047b6cf 100644
--- a/include/net/tc_act/tc_vlan.h
+++ b/include/net/tc_act/tc_vlan.h
@@ -49,4 +49,9 @@ static inline __be16 tcf_vlan_push_proto(const struct tc_action *a)
return to_vlan(a)->tcfv_push_proto;
}
+static inline u8 tcf_vlan_push_prio(const struct tc_action *a)
+{
+ return to_vlan(a)->tcfv_push_prio;
+}
+
#endif /* __NET_TC_VLAN_H */