Home
last modified time | relevance | path

Searched refs:to_vlan (Results 1 – 4 of 4) sorted by relevance

/linux/include/net/tc_act/
H A Dtc_vlan.h27 #define to_vlan(a) ((struct tcf_vlan *)a) macro
43 tcfv_action = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_action; in tcf_vlan_action()
54 tcfv_push_vid = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_vid; in tcf_vlan_push_vid()
65 tcfv_push_proto = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_proto; in tcf_vlan_push_proto()
76 tcfv_push_prio = rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_prio; in tcf_vlan_push_prio()
86 memcpy(dest, rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_dst, ETH_ALEN); in tcf_vlan_push_eth()
87 memcpy(src, rcu_dereference(to_vlan(a)->vlan_p)->tcfv_push_src, ETH_ALEN); in tcf_vlan_push_eth()
/linux/net/sched/
H A Dact_vlan.c26 struct tcf_vlan *v = to_vlan(a); in tcf_vlan_act()
237 v = to_vlan(*a); in tcf_vlan_init()
279 struct tcf_vlan *v = to_vlan(a); in tcf_vlan_cleanup()
291 struct tcf_vlan *v = to_vlan(a); in tcf_vlan_dump()
341 struct tcf_vlan *v = to_vlan(a); in tcf_vlan_stats_update()
/linux/drivers/net/ethernet/sunplus/
H A Dspl2sw_driver.c110 cmd1 = TXD_OWN | TXD_SOP | TXD_EOP | (mac->to_vlan << 12) | in spl2sw_ethernet_start_xmit()
463 mac->to_vlan = 0x1 << i; /* vlan group: i */ in spl2sw_probe()
H A Dspl2sw_define.h266 u8 to_vlan; member