Lines Matching refs:ethhdr

273 	struct ethhdr *ethhdr;  in batadv_bla_send_claim()  local
309 ethhdr = (struct ethhdr *)skb->data; in batadv_bla_send_claim()
310 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim()
318 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
339 ethhdr->h_source, BATADV_PRINT_VID(vid)); in batadv_bla_send_claim()
347 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
350 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
707 u8 *backbone_addr, struct ethhdr *ethhdr, in batadv_handle_request() argument
711 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request()
717 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request()
722 BATADV_PRINT_VID(vid), ethhdr->h_source); in batadv_handle_request()
805 struct ethhdr *ethhdr) in batadv_check_claim_group() argument
824 backbone_addr = ethhdr->h_source; in batadv_check_claim_group()
878 struct ethhdr *ethhdr; in batadv_bla_process_claim() local
887 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
889 proto = ethhdr->h_proto; in batadv_bla_process_claim()
921 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
922 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim()
955 ethhdr); in batadv_bla_process_claim()
959 ethhdr->h_source, BATADV_PRINT_VID(vid), hw_src, in batadv_bla_process_claim()
972 ethhdr->h_source, vid)) in batadv_bla_process_claim()
977 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim()
982 if (batadv_handle_announce(bat_priv, hw_src, ethhdr->h_source, in batadv_bla_process_claim()
987 if (batadv_handle_request(bat_priv, primary_if, hw_src, ethhdr, in batadv_bla_process_claim()
995 ethhdr->h_source, BATADV_PRINT_VID(vid), hw_src, hw_dst); in batadv_bla_process_claim()
1473 struct ethhdr *ethhdr; in batadv_bla_rx() local
1478 ethhdr = eth_hdr(skb); in batadv_bla_rx()
1489 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) in batadv_bla_rx()
1492 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_rx()
1502 ethhdr->h_source, vid); in batadv_bla_rx()
1515 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) { in batadv_bla_rx()
1530 ethhdr->h_source, vid); in batadv_bla_rx()
1569 struct ethhdr *ethhdr; in batadv_bla_tx() local
1584 ethhdr = eth_hdr(skb); in batadv_bla_tx()
1588 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_tx()
1591 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_tx()
1608 ethhdr->h_source, vid); in batadv_bla_tx()
1613 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_bla_tx()