• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/core/

Lines Matching refs:neighbour

15  *	Harald Welte		Add neighbour cache statistics like rtstat
30 #include <net/neighbour.h>
60 static void __neigh_notify(struct neighbour *n, int type, int flags);
61 static void neigh_update_notify(struct neighbour *neigh);
75 It will result in deadlocks, if backend/driver wants to use neighbour
94 not make callbacks to neighbour tables.
97 list of neighbour tables. This list is used only in process context,
108 static void neigh_cleanup_and_release(struct neighbour *neigh)
139 struct neighbour *n, **np;
169 static void neigh_add_timer(struct neighbour *n, unsigned long when)
179 static int neigh_del_timer(struct neighbour *n)
204 struct neighbour *n, **np = &tbl->hash_buckets[i];
218 We must destroy neighbour entry,
261 static struct neighbour *neigh_alloc(struct neigh_table *tbl)
263 struct neighbour *n = NULL;
300 static struct neighbour **neigh_hash_alloc(unsigned int entries)
302 unsigned long size = entries * sizeof(struct neighbour *);
303 struct neighbour **ret;
308 ret = (struct neighbour **)
314 static void neigh_hash_free(struct neighbour **hash, unsigned int entries)
316 unsigned long size = entries * sizeof(struct neighbour *);
326 struct neighbour **new_hash, **old_hash;
342 struct neighbour *n, *next;
360 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey,
363 struct neighbour *n;
383 struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net,
386 struct neighbour *n;
407 struct neighbour *neigh_create(struct neigh_table *tbl, const void *pkey,
413 struct neighbour *n1, *rc, *n = neigh_alloc(tbl);
620 * neighbour must already be out of the table;
623 void neigh_destroy(struct neighbour *neigh)
631 "Destroying alive neighbour %p\n", neigh);
667 static void neigh_suspect(struct neighbour *neigh)
684 static void neigh_connect(struct neighbour *neigh)
699 struct neighbour *n, **np;
766 static __inline__ int neigh_max_probes(struct neighbour *n)
774 static void neigh_invalidate(struct neighbour *neigh)
785 routine. Particularly, it can hit the same neighbour entry!
798 /* Called when a timer expires for a neighbour entry. */
803 struct neighbour *neigh = (struct neighbour *)arg;
893 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb)
948 static void neigh_update_hhs(struct neighbour *neigh)
983 NEIGH_UPDATE_F_ISROUTER indicates if the neighbour is known as
989 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new,
1104 struct neighbour *n1 = neigh;
1106 /* On shaper/eql skb->dst->neighbour != neigh :( */
1107 if (skb_dst(skb) && skb_dst(skb)->neighbour)
1108 n1 = skb_dst(skb)->neighbour;
1129 struct neighbour *neigh_event_ns(struct neigh_table *tbl,
1133 struct neighbour *neigh = __neigh_lookup(tbl, saddr, dev,
1142 static void neigh_hh_init(struct neighbour *n, struct dst_entry *dst,
1202 struct neighbour *neigh;
1205 if (!dst || !(neigh = dst->neighbour))
1235 dst, dst ? dst->neighbour : NULL);
1249 struct neighbour *neigh = dst->neighbour;
1431 panic("cannot create neighbour cache statistics");
1436 panic("cannot create neighbour proc dir entry");
1446 panic("cannot allocate neighbour cache hashes");
1495 printk(KERN_CRIT "neighbour leakage\n");
1550 struct neighbour *neigh;
1621 struct neighbour *neigh;
2035 static int neigh_fill_info(struct sk_buff *skb, struct neighbour *neigh,
2081 static void neigh_update_notify(struct neighbour *neigh)
2091 struct neighbour *n;
2150 void neigh_for_each(struct neigh_table *tbl, void (*cb)(struct neighbour *, void *), void *cookie)
2156 struct neighbour *n;
2167 int (*cb)(struct neighbour *))
2172 struct neighbour *n, **np;
2195 static struct neighbour *neigh_get_first(struct seq_file *seq)
2200 struct neighbour *n = NULL;
2234 static struct neighbour *neigh_get_next(struct seq_file *seq,
2235 struct neighbour *n,
2282 static struct neighbour *neigh_get_idx(struct seq_file *seq, loff_t *pos)
2284 struct neighbour *n = neigh_get_first(seq);
2532 static void __neigh_notify(struct neighbour *n, int type, int flags)
2557 void neigh_app_ns(struct neighbour *n)