Lines Matching refs:neighbour

54 static void __neigh_notify(struct neighbour *n, int type, int flags,
56 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid);
92 static int neigh_blackhole(struct neighbour *neigh, struct sk_buff *skb) in neigh_blackhole()
98 static void neigh_cleanup_and_release(struct neighbour *neigh) in neigh_cleanup_and_release()
118 static void neigh_mark_dead(struct neighbour *n) in neigh_mark_dead()
129 static void neigh_update_gc_list(struct neighbour *n) in neigh_update_gc_list()
158 static void neigh_update_managed_list(struct neighbour *n) in neigh_update_managed_list()
179 static void neigh_update_flags(struct neighbour *neigh, u32 flags, int *notify, in neigh_update_flags()
208 static bool neigh_del(struct neighbour *n, struct neighbour __rcu **np, in neigh_del()
215 struct neighbour *neigh; in neigh_del()
229 bool neigh_remove_one(struct neighbour *ndel, struct neigh_table *tbl) in neigh_remove_one()
234 struct neighbour *n; in neigh_remove_one()
235 struct neighbour __rcu **np; in neigh_remove_one()
256 struct neighbour *n, *tmp; in neigh_forced_gc()
290 static void neigh_add_timer(struct neighbour *n, unsigned long when) in neigh_add_timer()
300 static int neigh_del_timer(struct neighbour *n) in neigh_del_timer()
330 struct neighbour *n; in neigh_flush_dev()
331 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev()
408 static struct neighbour *neigh_alloc(struct neigh_table *tbl, in neigh_alloc()
412 struct neighbour *n = NULL; in neigh_alloc()
472 size_t size = (1 << shift) * sizeof(struct neighbour *); in neigh_hash_alloc()
474 struct neighbour __rcu **buckets; in neigh_hash_alloc()
483 buckets = (struct neighbour __rcu **) in neigh_hash_alloc()
504 size_t size = (1 << nht->hash_shift) * sizeof(struct neighbour *); in neigh_hash_free_rcu()
505 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu()
531 struct neighbour *n, *next; in neigh_hash_grow()
557 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey, in neigh_lookup()
560 struct neighbour *n; in neigh_lookup()
577 struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net, in neigh_lookup_nodev()
580 struct neighbour *n; in neigh_lookup_nodev()
608 static struct neighbour *
614 struct neighbour *n1, *rc, *n; in ___neigh_create()
704 struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey, in __neigh_create()
859 void neigh_destroy(struct neighbour *neigh) in neigh_destroy()
897 static void neigh_suspect(struct neighbour *neigh) in neigh_suspect()
909 static void neigh_connect(struct neighbour *neigh) in neigh_connect()
919 struct neighbour *n; in neigh_periodic_work()
920 struct neighbour __rcu **np; in neigh_periodic_work()
998 static __inline__ int neigh_max_probes(struct neighbour *n) in neigh_max_probes()
1006 static void neigh_invalidate(struct neighbour *neigh) in neigh_invalidate()
1031 static void neigh_probe(struct neighbour *neigh) in neigh_probe()
1050 struct neighbour *neigh = from_timer(neigh, t, timer); in neigh_timer_handler()
1136 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) in __neigh_event_send()
1218 static void neigh_update_hhs(struct neighbour *neigh) in neigh_update_hhs()
1256 static int __neigh_update(struct neighbour *neigh, const u8 *lladdr, in __neigh_update()
1402 struct neighbour *n2, *n1 = neigh; in __neigh_update()
1444 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, in neigh_update()
1454 void __neigh_set_probe_once(struct neighbour *neigh) in __neigh_set_probe_once()
1469 struct neighbour *neigh_event_ns(struct neigh_table *tbl, in neigh_event_ns()
1473 struct neighbour *neigh = __neigh_lookup(tbl, saddr, dev, in neigh_event_ns()
1483 static void neigh_hh_init(struct neighbour *n) in neigh_hh_init()
1502 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_resolve_output()
1537 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_connected_output()
1560 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_direct_output()
1570 struct neighbour *neigh; in neigh_managed_work()
1753 tbl->entry_size = ALIGN(offsetof(struct neighbour, primary_key) + in neigh_table_init()
1848 struct neighbour *neigh; in neigh_delete()
1916 struct neighbour *neigh; in neigh_add()
2501 static int neigh_fill_info(struct sk_buff *skb, struct neighbour *neigh, in neigh_fill_info()
2603 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid) in neigh_update_notify()
2648 struct neighbour *n; in neigh_dump_table()
2913 static int neigh_get_reply(struct net *net, struct neighbour *neigh, in neigh_get_reply()
2969 struct neighbour *neigh; in neigh_get()
3024 void neigh_for_each(struct neigh_table *tbl, void (*cb)(struct neighbour *, void *), void *cookie) in neigh_for_each() argument
3034 struct neighbour *n; in neigh_for_each()
3048 int (*cb)(struct neighbour *)) in __neigh_for_each_release() argument
3056 struct neighbour *n; in __neigh_for_each_release()
3057 struct neighbour __rcu **np; in __neigh_for_each_release()
3087 struct neighbour *neigh; in neigh_xmit()
3127 static struct neighbour *neigh_get_first(struct seq_file *seq) in neigh_get_first()
3132 struct neighbour *n = NULL; in neigh_get_first()
3166 static struct neighbour *neigh_get_next(struct seq_file *seq, in neigh_get_next()
3167 struct neighbour *n, in neigh_get_next()
3214 static struct neighbour *neigh_get_idx(struct seq_file *seq, loff_t *pos) in neigh_get_idx()
3216 struct neighbour *n = neigh_get_first(seq); in neigh_get_idx()
3446 static void __neigh_notify(struct neighbour *n, int type, int flags, in __neigh_notify()
3471 void neigh_app_ns(struct neighbour *n) in neigh_app_ns()