Lines Matching refs:ethhdr
67 struct ethhdr *ethhdr; in batadv_send_skb_packet() local
90 ethhdr = eth_hdr(skb); in batadv_send_skb_packet()
91 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet()
92 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet()
93 ethhdr->h_proto = htons(ETH_P_BATMAN); in batadv_send_skb_packet()
339 struct ethhdr *ethhdr; in batadv_send_skb_unicast() local
366 ethhdr = eth_hdr(skb); in batadv_send_skb_unicast()
374 if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) in batadv_send_skb_unicast()
409 struct ethhdr *ethhdr = (struct ethhdr *)skb->data; in batadv_send_skb_via_tt_generic() local
414 src = ethhdr->h_source; in batadv_send_skb_via_tt_generic()
415 dst = ethhdr->h_dest; in batadv_send_skb_via_tt_generic()