Lines Matching refs:ethhdr
344 struct ethhdr *ethhdr; in batadv_bla_send_claim() local
380 ethhdr = (struct ethhdr *)skb->data; in batadv_bla_send_claim()
381 hw_src = (u8 *)ethhdr + ETH_HLEN + sizeof(struct arphdr); in batadv_bla_send_claim()
389 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
410 ethhdr->h_source, batadv_print_vid(vid)); in batadv_bla_send_claim()
418 ether_addr_copy(ethhdr->h_dest, mac); in batadv_bla_send_claim()
421 ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
425 ether_addr_copy(ethhdr->h_source, mac); in batadv_bla_send_claim()
428 __func__, ethhdr->h_source, ethhdr->h_dest, in batadv_bla_send_claim()
897 u8 *backbone_addr, struct ethhdr *ethhdr, in batadv_handle_request() argument
901 if (!batadv_compare_eth(backbone_addr, ethhdr->h_dest)) in batadv_handle_request()
907 if (!batadv_compare_eth(ethhdr->h_dest, primary_if->net_dev->dev_addr)) in batadv_handle_request()
912 __func__, batadv_print_vid(vid), ethhdr->h_source); in batadv_handle_request()
1013 struct ethhdr *ethhdr) in batadv_check_claim_group() argument
1032 backbone_addr = ethhdr->h_source; in batadv_check_claim_group()
1084 struct ethhdr *ethhdr; in batadv_bla_process_claim() local
1093 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
1095 proto = ethhdr->h_proto; in batadv_bla_process_claim()
1127 ethhdr = eth_hdr(skb); in batadv_bla_process_claim()
1128 arphdr = (struct arphdr *)((u8 *)ethhdr + headlen); in batadv_bla_process_claim()
1165 ethhdr); in batadv_bla_process_claim()
1169 __func__, ethhdr->h_source, batadv_print_vid(vid), in batadv_bla_process_claim()
1182 ethhdr->h_source, vid)) in batadv_bla_process_claim()
1187 ethhdr->h_source, hw_src, vid)) in batadv_bla_process_claim()
1192 if (batadv_handle_announce(bat_priv, hw_src, ethhdr->h_source, in batadv_bla_process_claim()
1197 if (batadv_handle_request(bat_priv, primary_if, hw_src, ethhdr, in batadv_bla_process_claim()
1205 __func__, ethhdr->h_source, batadv_print_vid(vid), hw_src, in batadv_bla_process_claim()
1842 struct ethhdr *ethhdr; in batadv_bla_loopdetect_check() local
1845 ethhdr = eth_hdr(skb); in batadv_bla_loopdetect_check()
1850 if (!batadv_compare_eth(ethhdr->h_source, in batadv_bla_loopdetect_check()
1898 struct ethhdr *ethhdr; in batadv_bla_rx() local
1904 ethhdr = eth_hdr(skb); in batadv_bla_rx()
1918 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_rx()
1939 if (is_multicast_ether_addr(ethhdr->h_dest) && in batadv_bla_rx()
1944 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_rx()
1955 __func__, ethhdr->h_source, in batadv_bla_rx()
1957 ethhdr->h_source, vid) ? in batadv_bla_rx()
1961 ethhdr->h_source, vid); in batadv_bla_rx()
1978 if (is_multicast_ether_addr(ethhdr->h_dest) && in batadv_bla_rx()
1994 ethhdr->h_source, vid); in batadv_bla_rx()
2032 struct ethhdr *ethhdr; in batadv_bla_tx() local
2049 ethhdr = eth_hdr(skb); in batadv_bla_tx()
2053 if (is_multicast_ether_addr(ethhdr->h_dest)) in batadv_bla_tx()
2056 ether_addr_copy(search_claim.addr, ethhdr->h_source); in batadv_bla_tx()
2081 __func__, ethhdr->h_source); in batadv_bla_tx()
2084 ethhdr->h_source, vid); in batadv_bla_tx()
2088 __func__, ethhdr->h_source); in batadv_bla_tx()
2094 if (is_multicast_ether_addr(ethhdr->h_dest)) { in batadv_bla_tx()