Lines Matching refs:ethh
385 struct ethhdr *ethh; in i40iw_form_cm_frame() local
423 ethh = (struct ethhdr *)buf; in i40iw_form_cm_frame()
434 ether_addr_copy(ethh->h_dest, cm_node->rem_mac); in i40iw_form_cm_frame()
435 ether_addr_copy(ethh->h_source, cm_node->loc_mac); in i40iw_form_cm_frame()
437 ((struct vlan_ethhdr *)ethh)->h_vlan_proto = htons(ETH_P_8021Q); in i40iw_form_cm_frame()
439 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in i40iw_form_cm_frame()
441 ((struct vlan_ethhdr *)ethh)->h_vlan_encapsulated_proto = htons(ETH_P_IP); in i40iw_form_cm_frame()
443 ethh->h_proto = htons(ETH_P_IP); in i40iw_form_cm_frame()
464 ether_addr_copy(ethh->h_dest, cm_node->rem_mac); in i40iw_form_cm_frame()
465 ether_addr_copy(ethh->h_source, cm_node->loc_mac); in i40iw_form_cm_frame()
467 ((struct vlan_ethhdr *)ethh)->h_vlan_proto = htons(ETH_P_8021Q); in i40iw_form_cm_frame()
469 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in i40iw_form_cm_frame()
470 ((struct vlan_ethhdr *)ethh)->h_vlan_encapsulated_proto = htons(ETH_P_IPV6); in i40iw_form_cm_frame()
472 ethh->h_proto = htons(ETH_P_IPV6); in i40iw_form_cm_frame()
3134 struct vlan_ethhdr *ethh; in i40iw_receive_ilq() local
3146 ethh = (struct vlan_ethhdr *)rbuf->mem.va; in i40iw_receive_ilq()
3148 if (ethh->h_vlan_proto == htons(ETH_P_8021Q)) { in i40iw_receive_ilq()
3149 vtag = ntohs(ethh->h_vlan_TCI); in i40iw_receive_ilq()