Lines Matching defs:ip
22 #include <linux/ip.h>
294 key = (__force const unsigned char *)&dat->ip;
295 for (i = 0; i < sizeof(dat->ip); i++) {
320 * @ip: search key
326 batadv_dat_entry_hash_find(struct batadv_priv *bat_priv, __be32 ip,
337 to_find.ip = ip;
345 if (dat_entry->ip != ip)
362 * @ip: ipv4 to add/edit
366 static void batadv_dat_entry_add(struct batadv_priv *bat_priv, __be32 ip,
372 dat_entry = batadv_dat_entry_hash_find(bat_priv, ip, vid);
380 &dat_entry->ip, dat_entry->mac_addr,
389 dat_entry->ip = ip;
407 &dat_entry->ip, dat_entry->mac_addr, batadv_print_vid(vid));
644 dat.ip = ip_dst;
664 * @ip: the DHT key
675 struct sk_buff *skb, __be32 ip,
685 cand = batadv_dat_select_candidates(bat_priv, ip, vid);
689 batadv_dbg(BATADV_DBG_DAT, bat_priv, "DHT_SEND for %pI4\n", &ip);
873 dat_entry->ip) ||
1380 dat_entry->mac_addr, &dat_entry->ip);