Lines Matching refs:neighbour

55 static void __neigh_notify(struct neighbour *n, int type, int flags);
56 static void neigh_update_notify(struct neighbour *neigh);
91 static int neigh_blackhole(struct neighbour *neigh, struct sk_buff *skb) in neigh_blackhole()
97 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_cleanup_and_release()
131 struct neighbour *n; in neigh_forced_gc()
132 struct neighbour __rcu **np; in neigh_forced_gc()
165 static void neigh_add_timer(struct neighbour *n, unsigned long when) in neigh_add_timer()
175 static int neigh_del_timer(struct neighbour *n) in neigh_del_timer()
204 struct neighbour *n; in neigh_flush_dev()
205 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev()
266 static struct neighbour *neigh_alloc(struct neigh_table *tbl, struct net_device *dev) in neigh_alloc()
268 struct neighbour *n = NULL; in neigh_alloc()
315 size_t size = (1 << shift) * sizeof(struct neighbour *); in neigh_hash_alloc()
317 struct neighbour __rcu **buckets; in neigh_hash_alloc()
326 buckets = (struct neighbour __rcu **) in neigh_hash_alloc()
345 size_t size = (1 << nht->hash_shift) * sizeof(struct neighbour *); in neigh_hash_free_rcu()
346 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu()
370 struct neighbour *n, *next; in neigh_hash_grow()
396 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey, in neigh_lookup()
399 struct neighbour *n; in neigh_lookup()
416 struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net, in neigh_lookup_nodev()
419 struct neighbour *n; in neigh_lookup_nodev()
447 struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey, in __neigh_create()
453 struct neighbour *n1, *rc, *n = neigh_alloc(tbl, dev); in __neigh_create()
679 void neigh_destroy(struct neighbour *neigh) in neigh_destroy()
717 static void neigh_suspect(struct neighbour *neigh) in neigh_suspect()
729 static void neigh_connect(struct neighbour *neigh) in neigh_connect()
739 struct neighbour *n; in neigh_periodic_work()
740 struct neighbour __rcu **np; in neigh_periodic_work()
817 static __inline__ int neigh_max_probes(struct neighbour *n) in neigh_max_probes()
825 static void neigh_invalidate(struct neighbour *neigh) in neigh_invalidate()
850 static void neigh_probe(struct neighbour *neigh) in neigh_probe()
868 struct neighbour *neigh = (struct neighbour *)arg; in neigh_timer_handler()
950 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) in __neigh_event_send()
1028 static void neigh_update_hhs(struct neighbour *neigh) in neigh_update_hhs()
1070 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, in neigh_update()
1191 struct neighbour *n2, *n1 = neigh; in neigh_update()
1237 void __neigh_set_probe_once(struct neighbour *neigh) in __neigh_set_probe_once()
1251 struct neighbour *neigh_event_ns(struct neigh_table *tbl, in neigh_event_ns()
1255 struct neighbour *neigh = __neigh_lookup(tbl, saddr, dev, in neigh_event_ns()
1265 static void neigh_hh_init(struct neighbour *n) in neigh_hh_init()
1284 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_resolve_output()
1319 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_connected_output()
1342 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_direct_output()
1521 tbl->entry_size = ALIGN(offsetof(struct neighbour, primary_key) + in neigh_table_init()
1593 struct neighbour *neigh; in neigh_delete()
1652 struct neighbour *neigh; in neigh_add()
2140 static int neigh_fill_info(struct sk_buff *skb, struct neighbour *neigh, in neigh_fill_info()
2224 static void neigh_update_notify(struct neighbour *neigh) in neigh_update_notify()
2234 struct neighbour *n; in neigh_dump_table()
2351 void neigh_for_each(struct neigh_table *tbl, void (*cb)(struct neighbour *, void *), void *cookie) in neigh_for_each() argument
2361 struct neighbour *n; in neigh_for_each()
2375 int (*cb)(struct neighbour *)) in __neigh_for_each_release() argument
2383 struct neighbour *n; in __neigh_for_each_release()
2384 struct neighbour __rcu **np; in __neigh_for_each_release()
2414 struct neighbour *neigh; in neigh_xmit()
2444 static struct neighbour *neigh_get_first(struct seq_file *seq) in neigh_get_first()
2449 struct neighbour *n = NULL; in neigh_get_first()
2483 static struct neighbour *neigh_get_next(struct seq_file *seq, in neigh_get_next()
2484 struct neighbour *n, in neigh_get_next()
2531 static struct neighbour *neigh_get_idx(struct seq_file *seq, loff_t *pos) in neigh_get_idx()
2533 struct neighbour *n = neigh_get_first(seq); in neigh_get_idx()
2782 static void __neigh_notify(struct neighbour *n, int type, int flags) in __neigh_notify()
2806 void neigh_app_ns(struct neighbour *n) in neigh_app_ns()