Lines Matching refs:ip_dst
431 __be32 ip_src, ip_dst; in batadv_dbg_arp() local
437 ip_dst = batadv_arp_ip_dst(skb, hdr_size); in batadv_dbg_arp()
441 batadv_arp_hw_dst(skb, hdr_size), &ip_dst); in batadv_dbg_arp()
631 batadv_dat_select_candidates(struct batadv_priv *bat_priv, __be32 ip_dst, in batadv_dat_select_candidates() argument
647 dat.ip = ip_dst; in batadv_dat_select_candidates()
653 "%s(): IP=%pI4 hash(IP)=%u\n", __func__, &ip_dst, in batadv_dat_select_candidates()
1064 __be32 ip_src, ip_dst; in batadv_arp_get_type() local
1101 ip_dst = batadv_arp_ip_dst(skb, hdr_size); in batadv_arp_get_type()
1103 ipv4_is_loopback(ip_dst) || ipv4_is_multicast(ip_dst) || in batadv_arp_get_type()
1105 ipv4_is_zeronet(ip_dst) || ipv4_is_lbcast(ip_dst)) in batadv_arp_get_type()
1167 __be32 ip_dst, u8 *hw_src, u8 *hw_dst, in batadv_dat_arp_create_reply() argument
1172 skb = arp_create(ARPOP_REPLY, ETH_P_ARP, ip_dst, bat_priv->soft_iface, in batadv_dat_arp_create_reply()
1200 __be32 ip_dst, ip_src; in batadv_dat_snoop_outgoing_arp_request() local
1225 ip_dst = batadv_arp_ip_dst(skb, hdr_size); in batadv_dat_snoop_outgoing_arp_request()
1229 dat_entry = batadv_dat_entry_hash_find(bat_priv, ip_dst, vid); in batadv_dat_snoop_outgoing_arp_request()
1258 skb_new = batadv_dat_arp_create_reply(bat_priv, ip_dst, ip_src, in batadv_dat_snoop_outgoing_arp_request()
1275 ret = batadv_dat_forward_data(bat_priv, skb, ip_dst, vid, in batadv_dat_snoop_outgoing_arp_request()
1297 __be32 ip_src, ip_dst; in batadv_dat_snoop_incoming_arp_request() local
1316 ip_dst = batadv_arp_ip_dst(skb, hdr_size); in batadv_dat_snoop_incoming_arp_request()
1322 dat_entry = batadv_dat_entry_hash_find(bat_priv, ip_dst, vid); in batadv_dat_snoop_incoming_arp_request()
1326 skb_new = batadv_dat_arp_create_reply(bat_priv, ip_dst, ip_src, in batadv_dat_snoop_incoming_arp_request()
1363 __be32 ip_src, ip_dst; in batadv_dat_snoop_outgoing_arp_reply() local
1382 ip_dst = batadv_arp_ip_dst(skb, hdr_size); in batadv_dat_snoop_outgoing_arp_reply()
1385 batadv_dat_entry_add(bat_priv, ip_dst, hw_dst, vid); in batadv_dat_snoop_outgoing_arp_reply()
1392 batadv_dat_forward_data(bat_priv, skb, ip_dst, vid, in batadv_dat_snoop_outgoing_arp_reply()
1411 __be32 ip_src, ip_dst; in batadv_dat_snoop_incoming_arp_reply() local
1430 ip_dst = batadv_arp_ip_dst(skb, hdr_size); in batadv_dat_snoop_incoming_arp_reply()
1441 hw_src, &ip_src, hw_dst, &ip_dst, in batadv_dat_snoop_incoming_arp_reply()
1450 batadv_dat_entry_add(bat_priv, ip_dst, hw_dst, vid); in batadv_dat_snoop_incoming_arp_reply()
1695 __be32 yiaddr, u8 *hw_dst, __be32 ip_dst, in batadv_dat_put_dhcp() argument
1700 skb = batadv_dat_arp_create_reply(bat_priv, yiaddr, ip_dst, chaddr, in batadv_dat_put_dhcp()
1708 batadv_dat_entry_add(bat_priv, ip_dst, hw_dst, vid); in batadv_dat_put_dhcp()
1712 batadv_dat_forward_data(bat_priv, skb, ip_dst, vid, in batadv_dat_put_dhcp()
1719 &ip_dst, hw_dst, batadv_print_vid(vid)); in batadv_dat_put_dhcp()
1856 __be32 ip_dst; in batadv_dat_drop_broadcast_packet() local
1877 ip_dst = batadv_arp_ip_dst(forw_packet->skb, hdr_size); in batadv_dat_drop_broadcast_packet()
1878 dat_entry = batadv_dat_entry_hash_find(bat_priv, ip_dst, vid); in batadv_dat_drop_broadcast_packet()
1882 "ARP Request for %pI4: fallback\n", &ip_dst); in batadv_dat_drop_broadcast_packet()
1887 "ARP Request for %pI4: fallback prevented\n", &ip_dst); in batadv_dat_drop_broadcast_packet()