Lines Matching refs:ethhdr
42 struct ethhdr *ethhdr; in batadv_send_skb_packet() local
62 ethhdr = eth_hdr(skb); in batadv_send_skb_packet()
63 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet()
64 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet()
65 ethhdr->h_proto = htons(ETH_P_BATMAN); in batadv_send_skb_packet()
258 struct ethhdr *ethhdr; in batadv_send_skb_unicast() local
286 ethhdr = eth_hdr(skb); in batadv_send_skb_unicast()
294 if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) in batadv_send_skb_unicast()
331 struct ethhdr *ethhdr = (struct ethhdr *)skb->data; in batadv_send_skb_via_tt_generic() local
335 src = ethhdr->h_source; in batadv_send_skb_via_tt_generic()
336 dst = ethhdr->h_dest; in batadv_send_skb_via_tt_generic()