Lines Matching refs:ethhdr

337 	struct ethhdr *ethhdr;  in batadv_bla_send_claim()  local
373 ethhdr = (struct ethhdr *)skb->data; in batadv_bla_send_claim()
374 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim()
382 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
403 ethhdr->h_source, batadv_print_vid(vid)); in batadv_bla_send_claim()
411 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
414 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
418 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
421 __func__, ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
891 u8 *backbone_addr, struct ethhdr *ethhdr, in batadv_handle_request() argument
895 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request()
901 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request()
906 __func__, batadv_print_vid(vid), ethhdr->h_source); in batadv_handle_request()
1007 struct ethhdr *ethhdr) in batadv_check_claim_group() argument
1026 backbone_addr = ethhdr->h_source; in batadv_check_claim_group()
1078 struct ethhdr *ethhdr; in batadv_bla_process_claim() local
1087 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
1089 proto = ethhdr->h_proto; in batadv_bla_process_claim()
1121 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
1122 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim()
1159 ethhdr); in batadv_bla_process_claim()
1163 __func__, ethhdr->h_source, batadv_print_vid(vid), in batadv_bla_process_claim()
1176 ethhdr->h_source, vid)) in batadv_bla_process_claim()
1181 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim()
1186 if (batadv_handle_announce(bat_priv, hw_src, ethhdr->h_source, in batadv_bla_process_claim()
1191 if (batadv_handle_request(bat_priv, primary_if, hw_src, ethhdr, in batadv_bla_process_claim()
1199 __func__, ethhdr->h_source, batadv_print_vid(vid), hw_src, in batadv_bla_process_claim()
1771 struct ethhdr *ethhdr; in batadv_bla_loopdetect_check() local
1774 ethhdr = eth_hdr(skb); in batadv_bla_loopdetect_check()
1779 if (!batadv_compare_eth(ethhdr->h_source, in batadv_bla_loopdetect_check()
1827 struct ethhdr *ethhdr; in batadv_bla_rx() local
1833 ethhdr = eth_hdr(skb); in batadv_bla_rx()
1847 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) in batadv_bla_rx()
1850 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_rx()
1861 __func__, ethhdr->h_source, in batadv_bla_rx()
1863 ethhdr->h_source, vid) ? in batadv_bla_rx()
1867 ethhdr->h_source, vid); in batadv_bla_rx()
1884 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) { in batadv_bla_rx()
1899 ethhdr->h_source, vid); in batadv_bla_rx()
1939 struct ethhdr *ethhdr; in batadv_bla_tx() local
1956 ethhdr = eth_hdr(skb); in batadv_bla_tx()
1960 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_tx()
1963 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_tx()
1988 __func__, ethhdr->h_source); in batadv_bla_tx()
1991 ethhdr->h_source, vid); in batadv_bla_tx()
1995 __func__, ethhdr->h_source); in batadv_bla_tx()
2001 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_bla_tx()