Lines Matching refs:a
27 #define to_vlan(a) ((struct tcf_vlan *)a) argument
29 static inline u32 tcf_vlan_action(const struct tc_action *a) in tcf_vlan_action() argument
34 tcfv_action = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_action; in tcf_vlan_action()
40 static inline u16 tcf_vlan_push_vid(const struct tc_action *a) in tcf_vlan_push_vid() argument
45 tcfv_push_vid = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_vid; in tcf_vlan_push_vid()
51 static inline __be16 tcf_vlan_push_proto(const struct tc_action *a) in tcf_vlan_push_proto() argument
56 tcfv_push_proto = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_proto; in tcf_vlan_push_proto()
62 static inline u8 tcf_vlan_push_prio(const struct tc_action *a) in tcf_vlan_push_prio() argument
67 tcfv_push_prio = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_prio; in tcf_vlan_push_prio()
74 const struct tc_action *a) in tcf_vlan_push_eth() argument
77 memcpy(dest, rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_dst, ETH_ALEN); in tcf_vlan_push_eth()
78 memcpy(src, rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_src, ETH_ALEN); in tcf_vlan_push_eth()