Searched refs:_vlan (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e.h | 76 #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/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac.h | 282 #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/drivers/net/ethernet/atheros/atl1c/ |
H A D | atl1c.h | 49 #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/tools/testing/selftests/bpf/progs/ |
H A D | bpf_flow.c | 407 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/net/core/ |
H A D | flow_dissector.c | 1290 struct vlan_hdr _vlan; in __skb_flow_dissect() local 1297 vlan = __skb_header_pointer(skb, nhoff, sizeof(_vlan), in __skb_flow_dissect() 1298 data, hlen, &_vlan); in __skb_flow_dissect()
|