Lines Matching refs:ethhdr
80 struct ethhdr *ethhdr; in batadv_send_skb_packet() local
103 ethhdr = eth_hdr(skb); in batadv_send_skb_packet()
104 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet()
105 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet()
106 ethhdr->h_proto = htons(ETH_P_BATMAN); in batadv_send_skb_packet()
352 struct ethhdr *ethhdr; in batadv_send_skb_unicast() local
379 ethhdr = eth_hdr(skb); in batadv_send_skb_unicast()
387 if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) in batadv_send_skb_unicast()
422 struct ethhdr *ethhdr = (struct ethhdr *)skb->data; in batadv_send_skb_via_tt_generic() local
427 src = ethhdr->h_source; in batadv_send_skb_via_tt_generic()
428 dst = ethhdr->h_dest; in batadv_send_skb_via_tt_generic()