Lines Matching refs:ethhdr
343 struct ethhdr *ethhdr; in batadv_bla_send_claim() local
379 ethhdr = (struct ethhdr *)skb->data; in batadv_bla_send_claim()
380 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim()
388 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
409 ethhdr->h_source, batadv_print_vid(vid)); in batadv_bla_send_claim()
417 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
420 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
424 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
427 __func__, ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
896 u8 *backbone_addr, struct ethhdr *ethhdr, in batadv_handle_request() argument
900 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request()
906 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request()
911 __func__, batadv_print_vid(vid), ethhdr->h_source); in batadv_handle_request()
1012 struct ethhdr *ethhdr) in batadv_check_claim_group() argument
1031 backbone_addr = ethhdr->h_source; in batadv_check_claim_group()
1083 struct ethhdr *ethhdr; in batadv_bla_process_claim() local
1092 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
1094 proto = ethhdr->h_proto; in batadv_bla_process_claim()
1126 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
1127 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim()
1164 ethhdr); in batadv_bla_process_claim()
1168 __func__, ethhdr->h_source, batadv_print_vid(vid), in batadv_bla_process_claim()
1181 ethhdr->h_source, vid)) in batadv_bla_process_claim()
1186 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim()
1191 if (batadv_handle_announce(bat_priv, hw_src, ethhdr->h_source, in batadv_bla_process_claim()
1196 if (batadv_handle_request(bat_priv, primary_if, hw_src, ethhdr, in batadv_bla_process_claim()
1204 __func__, ethhdr->h_source, batadv_print_vid(vid), hw_src, in batadv_bla_process_claim()
1841 struct ethhdr *ethhdr; in batadv_bla_loopdetect_check() local
1844 ethhdr = eth_hdr(skb); in batadv_bla_loopdetect_check()
1849 if (!batadv_compare_eth(ethhdr->h_source, in batadv_bla_loopdetect_check()
1897 struct ethhdr *ethhdr; in batadv_bla_rx() local
1903 ethhdr = eth_hdr(skb); in batadv_bla_rx()
1917 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_rx()
1938 if (is_multicast_ether_addr(ethhdr->h_dest) && in batadv_bla_rx()
1943 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_rx()
1954 __func__, ethhdr->h_source, in batadv_bla_rx()
1956 ethhdr->h_source, vid) ? in batadv_bla_rx()
1960 ethhdr->h_source, vid); in batadv_bla_rx()
1977 if (is_multicast_ether_addr(ethhdr->h_dest) && in batadv_bla_rx()
1993 ethhdr->h_source, vid); in batadv_bla_rx()
2031 struct ethhdr *ethhdr; in batadv_bla_tx() local
2048 ethhdr = eth_hdr(skb); in batadv_bla_tx()
2052 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_tx()
2055 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_tx()
2080 __func__, ethhdr->h_source); in batadv_bla_tx()
2083 ethhdr->h_source, vid); in batadv_bla_tx()
2087 __func__, ethhdr->h_source); in batadv_bla_tx()
2093 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_bla_tx()