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()
122 static bool neigh_del(struct neighbour *n, __u8 state, __u8 flags, in neigh_del()
123 struct neighbour __rcu **np, struct neigh_table *tbl) in neigh_del()
130 struct neighbour *neigh; in neigh_del()
144 bool neigh_remove_one(struct neighbour *ndel, struct neigh_table *tbl) in neigh_remove_one()
149 struct neighbour *n; in neigh_remove_one()
150 struct neighbour __rcu **np; in neigh_remove_one()
179 struct neighbour *n; in neigh_forced_gc()
180 struct neighbour __rcu **np; in neigh_forced_gc()
205 static void neigh_add_timer(struct neighbour *n, unsigned long when) in neigh_add_timer()
215 static int neigh_del_timer(struct neighbour *n) in neigh_del_timer()
244 struct neighbour *n; in neigh_flush_dev()
245 struct neighbour __rcu **np = &nht->hash_buckets[i]; in neigh_flush_dev()
305 static struct neighbour *neigh_alloc(struct neigh_table *tbl, struct net_device *dev) in neigh_alloc()
307 struct neighbour *n = NULL; in neigh_alloc()
357 size_t size = (1 << shift) * sizeof(struct neighbour *); in neigh_hash_alloc()
359 struct neighbour __rcu **buckets; in neigh_hash_alloc()
368 buckets = (struct neighbour __rcu **) in neigh_hash_alloc()
387 size_t size = (1 << nht->hash_shift) * sizeof(struct neighbour *); in neigh_hash_free_rcu()
388 struct neighbour __rcu **buckets = nht->hash_buckets; in neigh_hash_free_rcu()
412 struct neighbour *n, *next; in neigh_hash_grow()
438 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey, in neigh_lookup()
441 struct neighbour *n; in neigh_lookup()
458 struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net, in neigh_lookup_nodev()
461 struct neighbour *n; in neigh_lookup_nodev()
489 struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey, in __neigh_create()
495 struct neighbour *n1, *rc, *n = neigh_alloc(tbl, dev); in __neigh_create()
729 void neigh_destroy(struct neighbour *neigh) in neigh_destroy()
767 static void neigh_suspect(struct neighbour *neigh) in neigh_suspect()
779 static void neigh_connect(struct neighbour *neigh) in neigh_connect()
789 struct neighbour *n; in neigh_periodic_work()
790 struct neighbour __rcu **np; in neigh_periodic_work()
868 static __inline__ int neigh_max_probes(struct neighbour *n) in neigh_max_probes()
876 static void neigh_invalidate(struct neighbour *neigh) in neigh_invalidate()
901 static void neigh_probe(struct neighbour *neigh) in neigh_probe()
920 struct neighbour *neigh = from_timer(neigh, t, timer); in neigh_timer_handler()
1003 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) in __neigh_event_send()
1081 static void neigh_update_hhs(struct neighbour *neigh) in neigh_update_hhs()
1121 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, in neigh_update()
1253 struct neighbour *n2, *n1 = neigh; in neigh_update()
1299 void __neigh_set_probe_once(struct neighbour *neigh) in __neigh_set_probe_once()
1313 struct neighbour *neigh_event_ns(struct neigh_table *tbl, in neigh_event_ns()
1317 struct neighbour *neigh = __neigh_lookup(tbl, saddr, dev, in neigh_event_ns()
1327 static void neigh_hh_init(struct neighbour *n) in neigh_hh_init()
1346 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_resolve_output()
1381 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_connected_output()
1404 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb) in neigh_direct_output()
1583 tbl->entry_size = ALIGN(offsetof(struct neighbour, primary_key) + in neigh_table_init()
1656 struct neighbour *neigh; in neigh_delete()
1720 struct neighbour *neigh; in neigh_add()
2217 static int neigh_fill_info(struct sk_buff *skb, struct neighbour *neigh, in neigh_fill_info()
2301 static void neigh_update_notify(struct neighbour *neigh, u32 nlmsg_pid) in neigh_update_notify()
2335 struct neighbour *n; in neigh_dump_table()
2470 void neigh_for_each(struct neigh_table *tbl, void (*cb)(struct neighbour *, void *), void *cookie) in neigh_for_each() argument
2480 struct neighbour *n; in neigh_for_each()
2494 int (*cb)(struct neighbour *)) in __neigh_for_each_release() argument
2502 struct neighbour *n; in __neigh_for_each_release()
2503 struct neighbour __rcu **np; in __neigh_for_each_release()
2533 struct neighbour *neigh; in neigh_xmit()
2567 static struct neighbour *neigh_get_first(struct seq_file *seq) in neigh_get_first()
2572 struct neighbour *n = NULL; in neigh_get_first()
2606 static struct neighbour *neigh_get_next(struct seq_file *seq, in neigh_get_next()
2607 struct neighbour *n, in neigh_get_next()
2654 static struct neighbour *neigh_get_idx(struct seq_file *seq, loff_t *pos) in neigh_get_idx()
2656 struct neighbour *n = neigh_get_first(seq); in neigh_get_idx()
2886 static void __neigh_notify(struct neighbour *n, int type, int flags, in __neigh_notify()
2911 void neigh_app_ns(struct neighbour *n) in neigh_app_ns()