Lines Matching refs:ethhdr

345 	struct ethhdr *ethhdr;  in batadv_bla_send_claim()  local
381 ethhdr = (struct ethhdr *)skb->data; in batadv_bla_send_claim()
382 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim()
390 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
411 ethhdr->h_source, batadv_print_vid(vid)); in batadv_bla_send_claim()
419 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
422 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
426 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
429 __func__, ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
902 u8 *backbone_addr, struct ethhdr *ethhdr, in batadv_handle_request() argument
906 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request()
912 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request()
917 __func__, batadv_print_vid(vid), ethhdr->h_source); in batadv_handle_request()
1018 struct ethhdr *ethhdr) in batadv_check_claim_group() argument
1037 backbone_addr = ethhdr->h_source; in batadv_check_claim_group()
1089 struct ethhdr *ethhdr; in batadv_bla_process_claim() local
1098 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
1100 proto = ethhdr->h_proto; in batadv_bla_process_claim()
1132 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
1133 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim()
1170 ethhdr); in batadv_bla_process_claim()
1174 __func__, ethhdr->h_source, batadv_print_vid(vid), in batadv_bla_process_claim()
1187 ethhdr->h_source, vid)) in batadv_bla_process_claim()
1192 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim()
1197 if (batadv_handle_announce(bat_priv, hw_src, ethhdr->h_source, in batadv_bla_process_claim()
1202 if (batadv_handle_request(bat_priv, primary_if, hw_src, ethhdr, in batadv_bla_process_claim()
1210 __func__, ethhdr->h_source, batadv_print_vid(vid), hw_src, in batadv_bla_process_claim()
1849 struct ethhdr *ethhdr; in batadv_bla_loopdetect_check() local
1852 ethhdr = eth_hdr(skb); in batadv_bla_loopdetect_check()
1857 if (!batadv_compare_eth(ethhdr->h_source, in batadv_bla_loopdetect_check()
1905 struct ethhdr *ethhdr; in batadv_bla_rx() local
1911 ethhdr = eth_hdr(skb); in batadv_bla_rx()
1925 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_rx()
1946 if (is_multicast_ether_addr(ethhdr->h_dest) && in batadv_bla_rx()
1951 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_rx()
1962 __func__, ethhdr->h_source, in batadv_bla_rx()
1964 ethhdr->h_source, vid) ? in batadv_bla_rx()
1968 ethhdr->h_source, vid); in batadv_bla_rx()
1985 if (is_multicast_ether_addr(ethhdr->h_dest) && in batadv_bla_rx()
2001 ethhdr->h_source, vid); in batadv_bla_rx()
2041 struct ethhdr *ethhdr; in batadv_bla_tx() local
2058 ethhdr = eth_hdr(skb); in batadv_bla_tx()
2062 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_tx()
2065 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_tx()
2090 __func__, ethhdr->h_source); in batadv_bla_tx()
2093 ethhdr->h_source, vid); in batadv_bla_tx()
2097 __func__, ethhdr->h_source); in batadv_bla_tx()
2103 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_bla_tx()