Lines Matching refs:neighbour
55 static void __neigh_notify(struct neighbour *n, int type, int flags,
57 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid);
93 static int neigh_blackhole(struct neighbour *neigh, struct sk_buff *skb) in neigh_blackhole()
99 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_cleanup_and_release()
119 static void neigh_mark_dead(struct neighbour *n) in neigh_mark_dead()
128 static void neigh_update_gc_list(struct neighbour *n) in neigh_update_gc_list()
159 static bool neigh_update_ext_learned(struct neighbour *neigh, u32 flags, in neigh_update_ext_learned()
181 static bool neigh_del(struct neighbour *n, struct neighbour __rcu **np, in neigh_del()
188 struct neighbour *neigh; in neigh_del()
202 bool neigh_remove_one(struct neighbour *ndel, struct neigh_table *tbl) in neigh_remove_one()
207 struct neighbour *n; in neigh_remove_one()
208 struct neighbour __rcu **np; in neigh_remove_one()
229 struct neighbour *n, *tmp; in neigh_forced_gc()
263 static void neigh_add_timer(struct neighbour *n, unsigned long when) in neigh_add_timer()
273 static int neigh_del_timer(struct neighbour *n) in neigh_del_timer()
318 struct neighbour *n; in neigh_flush_dev()
319 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev()
396 static struct neighbour *neigh_alloc(struct neigh_table *tbl, in neigh_alloc()
400 struct neighbour *n = NULL; in neigh_alloc()
459 size_t size = (1 << shift) * sizeof(struct neighbour *); in neigh_hash_alloc()
461 struct neighbour __rcu **buckets; in neigh_hash_alloc()
470 buckets = (struct neighbour __rcu **) in neigh_hash_alloc()
491 size_t size = (1 << nht->hash_shift) * sizeof(struct neighbour *); in neigh_hash_free_rcu()
492 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu()
518 struct neighbour *n, *next; in neigh_hash_grow()
544 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey, in neigh_lookup()
547 struct neighbour *n; in neigh_lookup()
564 struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net, in neigh_lookup_nodev()
567 struct neighbour *n; in neigh_lookup_nodev()
595 static struct neighbour *
601 struct neighbour *n1, *rc, *n; in ___neigh_create()
690 struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey, in __neigh_create()
849 void neigh_destroy(struct neighbour *neigh) in neigh_destroy()
887 static void neigh_suspect(struct neighbour *neigh) in neigh_suspect()
899 static void neigh_connect(struct neighbour *neigh) in neigh_connect()
909 struct neighbour *n; in neigh_periodic_work()
910 struct neighbour __rcu **np; in neigh_periodic_work()
988 static __inline__ int neigh_max_probes(struct neighbour *n) in neigh_max_probes()
996 static void neigh_invalidate(struct neighbour *neigh) in neigh_invalidate()
1021 static void neigh_probe(struct neighbour *neigh) in neigh_probe()
1040 struct neighbour *neigh = from_timer(neigh, t, timer); in neigh_timer_handler()
1126 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) in __neigh_event_send()
1208 static void neigh_update_hhs(struct neighbour *neigh) in neigh_update_hhs()
1248 static int __neigh_update(struct neighbour *neigh, const u8 *lladdr, in __neigh_update()
1395 struct neighbour *n2, *n1 = neigh; in __neigh_update()
1439 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, in neigh_update()
1449 void __neigh_set_probe_once(struct neighbour *neigh) in __neigh_set_probe_once()
1464 struct neighbour *neigh_event_ns(struct neigh_table *tbl, in neigh_event_ns()
1468 struct neighbour *neigh = __neigh_lookup(tbl, saddr, dev, in neigh_event_ns()
1478 static void neigh_hh_init(struct neighbour *n) in neigh_hh_init()
1497 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_resolve_output()
1532 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_connected_output()
1555 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_direct_output()
1735 tbl->entry_size = ALIGN(offsetof(struct neighbour, primary_key) + in neigh_table_init()
1824 struct neighbour *neigh; in neigh_delete()
1892 struct neighbour *neigh; in neigh_add()
2455 static int neigh_fill_info(struct sk_buff *skb, struct neighbour *neigh, in neigh_fill_info()
2545 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid) in neigh_update_notify()
2583 struct neighbour *n; in neigh_dump_table()
2847 static int neigh_get_reply(struct net *net, struct neighbour *neigh, in neigh_get_reply()
2902 struct neighbour *neigh; in neigh_get()
2957 void neigh_for_each(struct neigh_table *tbl, void (*cb)(struct neighbour *, void *), void *cookie) in neigh_for_each() argument
2967 struct neighbour *n; in neigh_for_each()
2981 int (*cb)(struct neighbour *)) in __neigh_for_each_release() argument
2989 struct neighbour *n; in __neigh_for_each_release()
2990 struct neighbour __rcu **np; in __neigh_for_each_release()
3020 struct neighbour *neigh; in neigh_xmit()
3060 static struct neighbour *neigh_get_first(struct seq_file *seq) in neigh_get_first()
3065 struct neighbour *n = NULL; in neigh_get_first()
3099 static struct neighbour *neigh_get_next(struct seq_file *seq, in neigh_get_next()
3100 struct neighbour *n, in neigh_get_next()
3147 static struct neighbour *neigh_get_idx(struct seq_file *seq, loff_t *pos) in neigh_get_idx()
3149 struct neighbour *n = neigh_get_first(seq); in neigh_get_idx()
3378 static void __neigh_notify(struct neighbour *n, int type, int flags, in __neigh_notify()
3403 void neigh_app_ns(struct neighbour *n) in neigh_app_ns()