Lines Matching refs:ethhdr
350 struct ethhdr *ethhdr; in batadv_bla_send_claim() local
386 ethhdr = (struct ethhdr *)skb->data; in batadv_bla_send_claim()
387 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim()
395 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
416 ethhdr->h_source, batadv_print_vid(vid)); in batadv_bla_send_claim()
424 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
427 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
431 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
434 __func__, ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
894 u8 *backbone_addr, struct ethhdr *ethhdr, in batadv_handle_request() argument
898 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request()
904 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request()
909 __func__, batadv_print_vid(vid), ethhdr->h_source); in batadv_handle_request()
1010 struct ethhdr *ethhdr) in batadv_check_claim_group() argument
1029 backbone_addr = ethhdr->h_source; in batadv_check_claim_group()
1081 struct ethhdr *ethhdr; in batadv_bla_process_claim() local
1090 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
1092 proto = ethhdr->h_proto; in batadv_bla_process_claim()
1124 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
1125 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim()
1162 ethhdr); in batadv_bla_process_claim()
1166 __func__, ethhdr->h_source, batadv_print_vid(vid), in batadv_bla_process_claim()
1179 ethhdr->h_source, vid)) in batadv_bla_process_claim()
1184 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim()
1189 if (batadv_handle_announce(bat_priv, hw_src, ethhdr->h_source, in batadv_bla_process_claim()
1194 if (batadv_handle_request(bat_priv, primary_if, hw_src, ethhdr, in batadv_bla_process_claim()
1202 __func__, ethhdr->h_source, batadv_print_vid(vid), hw_src, in batadv_bla_process_claim()
1774 struct ethhdr *ethhdr; in batadv_bla_loopdetect_check() local
1777 ethhdr = eth_hdr(skb); in batadv_bla_loopdetect_check()
1782 if (!batadv_compare_eth(ethhdr->h_source, in batadv_bla_loopdetect_check()
1830 struct ethhdr *ethhdr; in batadv_bla_rx() local
1836 ethhdr = eth_hdr(skb); in batadv_bla_rx()
1850 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) in batadv_bla_rx()
1853 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_rx()
1864 __func__, ethhdr->h_source, in batadv_bla_rx()
1866 ethhdr->h_source, vid) ? in batadv_bla_rx()
1870 ethhdr->h_source, vid); in batadv_bla_rx()
1887 if (is_multicast_ether_addr(ethhdr->h_dest) && is_bcast) { in batadv_bla_rx()
1902 ethhdr->h_source, vid); in batadv_bla_rx()
1942 struct ethhdr *ethhdr; in batadv_bla_tx() local
1959 ethhdr = eth_hdr(skb); in batadv_bla_tx()
1963 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_tx()
1966 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_tx()
1991 __func__, ethhdr->h_source); in batadv_bla_tx()
1994 ethhdr->h_source, vid); in batadv_bla_tx()
1998 __func__, ethhdr->h_source); in batadv_bla_tx()
2004 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_bla_tx()