Lines Matching refs:ethhdr

258 	struct ethhdr *ethhdr;  in batadv_bla_send_claim()  local
294 ethhdr = (struct ethhdr *)skb->data; in batadv_bla_send_claim()
295 hw_src = (uint8_t *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim()
303 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
324 ethhdr->h_source, BATADV_PRINT_VID(vid)); in batadv_bla_send_claim()
332 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
335 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
694 struct ethhdr *ethhdr, unsigned short vid) in batadv_handle_request() argument
697 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request()
703 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request()
708 BATADV_PRINT_VID(vid), ethhdr->h_source); in batadv_handle_request()
791 struct ethhdr *ethhdr) in batadv_check_claim_group() argument
810 backbone_addr = ethhdr->h_source; in batadv_check_claim_group()
864 struct ethhdr *ethhdr; in batadv_bla_process_claim() local
873 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
875 proto = ethhdr->h_proto; in batadv_bla_process_claim()
907 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
908 arphdr = (struct arphdr *)((uint8_t *)ethhdr + headlen); in batadv_bla_process_claim()
941 ethhdr); in batadv_bla_process_claim()
945 ethhdr->h_source, BATADV_PRINT_VID(vid), hw_src, in batadv_bla_process_claim()
958 ethhdr->h_source, vid)) in batadv_bla_process_claim()
963 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim()
968 if (batadv_handle_announce(bat_priv, hw_src, ethhdr->h_source, in batadv_bla_process_claim()
973 if (batadv_handle_request(bat_priv, primary_if, hw_src, ethhdr, in batadv_bla_process_claim()
981 ethhdr->h_source, BATADV_PRINT_VID(vid), hw_src, hw_dst); in batadv_bla_process_claim()
1459 struct ethhdr *ethhdr; in batadv_bla_rx() local
1464 ethhdr = eth_hdr(skb); in batadv_bla_rx()
1475 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) in batadv_bla_rx()
1478 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_rx()
1488 ethhdr->h_source, vid); in batadv_bla_rx()
1501 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) { in batadv_bla_rx()
1516 ethhdr->h_source, vid); in batadv_bla_rx()
1555 struct ethhdr *ethhdr; in batadv_bla_tx() local
1570 ethhdr = eth_hdr(skb); in batadv_bla_tx()
1574 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_tx()
1577 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_tx()
1594 ethhdr->h_source, vid); in batadv_bla_tx()
1599 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_bla_tx()