Lines Matching refs:ethhdr
60 struct ethhdr *ethhdr; in batadv_send_skb_packet() local
80 ethhdr = eth_hdr(skb); in batadv_send_skb_packet()
81 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet()
82 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet()
83 ethhdr->h_proto = htons(ETH_P_BATMAN); in batadv_send_skb_packet()
277 struct ethhdr *ethhdr; in batadv_send_skb_unicast() local
304 ethhdr = eth_hdr(skb); in batadv_send_skb_unicast()
312 if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) in batadv_send_skb_unicast()
349 struct ethhdr *ethhdr = (struct ethhdr *)skb->data; in batadv_send_skb_via_tt_generic() local
353 src = ethhdr->h_source; in batadv_send_skb_via_tt_generic()
354 dst = ethhdr->h_dest; in batadv_send_skb_via_tt_generic()