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()
319 size_t size = (1 << shift) * sizeof(struct neighbour *); in neigh_hash_alloc()
321 struct neighbour __rcu **buckets; in neigh_hash_alloc()
330 buckets = (struct neighbour __rcu **) in neigh_hash_alloc()
349 size_t size = (1 << nht->hash_shift) * sizeof(struct neighbour *); in neigh_hash_free_rcu()
350 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu()
374 struct neighbour *n, *next; in neigh_hash_grow()
400 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey, in neigh_lookup()
403 struct neighbour *n; in neigh_lookup()
420 struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net, in neigh_lookup_nodev()
423 struct neighbour *n; in neigh_lookup_nodev()
451 struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey, in __neigh_create()
457 struct neighbour *n1, *rc, *n = neigh_alloc(tbl, dev); in __neigh_create()
683 void neigh_destroy(struct neighbour *neigh) in neigh_destroy()
721 static void neigh_suspect(struct neighbour *neigh) in neigh_suspect()
733 static void neigh_connect(struct neighbour *neigh) in neigh_connect()
743 struct neighbour *n; in neigh_periodic_work()
744 struct neighbour __rcu **np; in neigh_periodic_work()
821 static __inline__ int neigh_max_probes(struct neighbour *n) in neigh_max_probes()
829 static void neigh_invalidate(struct neighbour *neigh) in neigh_invalidate()
854 static void neigh_probe(struct neighbour *neigh) in neigh_probe()
872 struct neighbour *neigh = (struct neighbour *)arg; in neigh_timer_handler()
955 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) in __neigh_event_send()
1033 static void neigh_update_hhs(struct neighbour *neigh) in neigh_update_hhs()
1075 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, in neigh_update()
1198 struct neighbour *n2, *n1 = neigh; in neigh_update()
1244 void __neigh_set_probe_once(struct neighbour *neigh) in __neigh_set_probe_once()
1258 struct neighbour *neigh_event_ns(struct neigh_table *tbl, in neigh_event_ns()
1262 struct neighbour *neigh = __neigh_lookup(tbl, saddr, dev, in neigh_event_ns()
1272 static void neigh_hh_init(struct neighbour *n) in neigh_hh_init()
1291 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_resolve_output()
1326 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_connected_output()
1349 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_direct_output()
1528 tbl->entry_size = ALIGN(offsetof(struct neighbour, primary_key) + in neigh_table_init()
1600 struct neighbour *neigh; in neigh_delete()
1659 struct neighbour *neigh; in neigh_add()
2148 static int neigh_fill_info(struct sk_buff *skb, struct neighbour *neigh, in neigh_fill_info()
2232 static void neigh_update_notify(struct neighbour *neigh) in neigh_update_notify()
2266 struct neighbour *n; in neigh_dump_table()
2402 void neigh_for_each(struct neigh_table *tbl, void (*cb)(struct neighbour *, void *), void *cookie) in neigh_for_each() argument
2412 struct neighbour *n; in neigh_for_each()
2426 int (*cb)(struct neighbour *)) in __neigh_for_each_release() argument
2434 struct neighbour *n; in __neigh_for_each_release()
2435 struct neighbour __rcu **np; in __neigh_for_each_release()
2465 struct neighbour *neigh; in neigh_xmit()
2495 static struct neighbour *neigh_get_first(struct seq_file *seq) in neigh_get_first()
2500 struct neighbour *n = NULL; in neigh_get_first()
2534 static struct neighbour *neigh_get_next(struct seq_file *seq, in neigh_get_next()
2535 struct neighbour *n, in neigh_get_next()
2582 static struct neighbour *neigh_get_idx(struct seq_file *seq, loff_t *pos) in neigh_get_idx()
2584 struct neighbour *n = neigh_get_first(seq); in neigh_get_idx()
2834 static void __neigh_notify(struct neighbour *n, int type, int flags) in __neigh_notify()
2858 void neigh_app_ns(struct neighbour *n) in neigh_app_ns()