Home
last modified time | relevance | path

Searched refs:_vlan (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/atheros/atl1e/
A Datl1e.h76 #define AT_VLAN_TAG_TO_TPD_TAG(_vlan, _tpd) \ argument
77 _tpd = (((_vlan) << (4)) | (((_vlan) >> 13) & 7) |\
78 (((_vlan) >> 9) & 8))
80 #define AT_TPD_TAG_TO_VLAN_TAG(_tpd, _vlan) \ argument
81 _vlan = (((_tpd) >> 8) | (((_tpd) & 0x77) << 9) |\
/linux-6.3-rc2/drivers/net/ethernet/qualcomm/emac/
A Demac.h282 #define EMAC_VLAN_TO_TAG(_vlan, _tag) \ argument
283 (_tag = ((((_vlan) >> 8) & 0xFF) | (((_vlan) & 0xFF) << 8)))
285 #define EMAC_TAG_TO_VLAN(_tag, _vlan) \ argument
286 (_vlan = ((((_tag) >> 8) & 0xFF) | (((_tag) & 0xFF) << 8)))
/linux-6.3-rc2/drivers/net/ethernet/atheros/atl1c/
A Datl1c.h49 #define AT_VLAN_TO_TAG(_vlan, _tag) \ argument
50 _tag = ((((_vlan) >> 8) & 0xFF) |\
51 (((_vlan) & 0xFF) << 8))
53 #define AT_TAG_TO_VLAN(_tag, _vlan) \ argument
54 _vlan = ((((_tag) >> 8) & 0xFF) |\
/linux-6.3-rc2/tools/testing/selftests/bpf/progs/
A Dbpf_flow.c407 struct vlan_hdr *vlan, _vlan; in PROG() local
411 vlan = bpf_flow_dissect_get_header(skb, sizeof(*vlan), &_vlan); in PROG()
422 vlan = bpf_flow_dissect_get_header(skb, sizeof(*vlan), &_vlan); in PROG()
/linux-6.3-rc2/net/core/
A Dflow_dissector.c1188 struct vlan_hdr _vlan; in __skb_flow_dissect() local
1195 vlan = __skb_header_pointer(skb, nhoff, sizeof(_vlan), in __skb_flow_dissect()
1196 data, hlen, &_vlan); in __skb_flow_dissect()

Completed in 19 milliseconds