Lines Matching refs:ethh
423 struct ethhdr *ethh; in irdma_form_uda_cm_frame() local
463 ethh = (struct ethhdr *)buf; in irdma_form_uda_cm_frame()
477 ether_addr_copy(ethh->h_dest, cm_node->rem_mac); in irdma_form_uda_cm_frame()
478 ether_addr_copy(ethh->h_source, cm_node->loc_mac); in irdma_form_uda_cm_frame()
480 ((struct vlan_ethhdr *)ethh)->h_vlan_proto = in irdma_form_uda_cm_frame()
484 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in irdma_form_uda_cm_frame()
486 ((struct vlan_ethhdr *)ethh)->h_vlan_encapsulated_proto = in irdma_form_uda_cm_frame()
489 ethh->h_proto = htons(ETH_P_IP); in irdma_form_uda_cm_frame()
510 ether_addr_copy(ethh->h_dest, cm_node->rem_mac); in irdma_form_uda_cm_frame()
511 ether_addr_copy(ethh->h_source, cm_node->loc_mac); in irdma_form_uda_cm_frame()
513 ((struct vlan_ethhdr *)ethh)->h_vlan_proto = in irdma_form_uda_cm_frame()
517 ((struct vlan_ethhdr *)ethh)->h_vlan_TCI = htons(vtag); in irdma_form_uda_cm_frame()
518 ((struct vlan_ethhdr *)ethh)->h_vlan_encapsulated_proto = in irdma_form_uda_cm_frame()
521 ethh->h_proto = htons(ETH_P_IPV6); in irdma_form_uda_cm_frame()
3096 struct vlan_ethhdr *ethh; in irdma_receive_ilq() local
3113 ethh = rbuf->mem.va; in irdma_receive_ilq()
3115 if (ethh->h_vlan_proto == htons(ETH_P_8021Q)) { in irdma_receive_ilq()
3116 vtag = ntohs(ethh->h_vlan_TCI); in irdma_receive_ilq()