Searched refs:_vlan (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/atheros/atl1e/ |
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-6.1.9/drivers/net/ethernet/qualcomm/emac/ |
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-6.1.9/drivers/net/ethernet/atheros/atl1c/ |
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-6.1.9/tools/testing/selftests/bpf/progs/ |
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-6.1.9/net/core/ |
D | flow_dissector.c | 1186 struct vlan_hdr _vlan; in __skb_flow_dissect() local 1193 vlan = __skb_header_pointer(skb, nhoff, sizeof(_vlan), in __skb_flow_dissect() 1194 data, hlen, &_vlan); in __skb_flow_dissect()
|