Searched refs:ethh (Results 1 - 5 of 5) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
H A Den_selftest.c52 struct ethhdr *ethh; local
67 ethh = (struct ethhdr *)skb_put(skb, sizeof(struct ethhdr));
69 memcpy(ethh->h_dest, priv->dev->dev_addr, ETH_ALEN);
70 memset(ethh->h_source, 0, ETH_ALEN);
71 ethh->h_proto = htons(ETH_P_ARP);
H A Den_tx.c602 struct ethhdr *ethh; local
687 ethh = (struct ethhdr *)skb->data;
688 tx_desc->ctrl.srcrb_flags16[0] = get_unaligned((__be16 *)ethh->h_dest);
689 tx_desc->ctrl.imm = get_unaligned((__be32 *)(ethh->h_dest + 2));
H A Den_rx.c542 struct ethhdr *ethh; local
582 ethh = (struct ethhdr *)(page_address(skb_frags[0].page) +
584 s_mac = mlx4_en_mac_to_u64(ethh->h_source);
/drivers/media/dvb/dvb-core/
H A Ddvb_net.c352 struct ethhdr *ethh = NULL; local
738 ethh = (struct ethhdr *)priv->ule_skb->data;
741 memcpy(ethh->h_dest, dest_addr, ETH_ALEN);
742 memset(ethh->h_source, 0, ETH_ALEN);
745 memset( ethh, 0, ETH_ALEN*2 );
747 ethh->h_proto = htons(priv->ule_sndu_type);
/drivers/infiniband/hw/nes/
H A Dnes_cm.c409 struct ethhdr *ethh; local
421 ethh = (struct ethhdr *)buf;
437 memcpy(ethh->h_dest, cm_node->rem_mac, ETH_ALEN);
438 memcpy(ethh->h_source, cm_node->loc_mac, ETH_ALEN);
439 ethh->h_proto = htons(0x0800);

Completed in 114 milliseconds