Lines Matching refs:ethhdr
68 struct ethhdr *ethhdr; in batadv_send_skb_packet() local
91 ethhdr = eth_hdr(skb); in batadv_send_skb_packet()
92 ether_addr_copy(ethhdr->h_source, hard_iface->net_dev->dev_addr); in batadv_send_skb_packet()
93 ether_addr_copy(ethhdr->h_dest, dst_addr); in batadv_send_skb_packet()
94 ethhdr->h_proto = htons(ETH_P_BATMAN); in batadv_send_skb_packet()
340 struct ethhdr *ethhdr; in batadv_send_skb_unicast() local
367 ethhdr = eth_hdr(skb); in batadv_send_skb_unicast()
375 if (batadv_tt_global_client_is_roaming(bat_priv, ethhdr->h_dest, vid)) in batadv_send_skb_unicast()
410 struct ethhdr *ethhdr = (struct ethhdr *)skb->data; in batadv_send_skb_via_tt_generic() local
415 src = ethhdr->h_source; in batadv_send_skb_via_tt_generic()
416 dst = ethhdr->h_dest; in batadv_send_skb_via_tt_generic()