Lines Matching refs:neighbour
39 struct neighbour;
72 int (*neigh_setup)(struct neighbour *);
73 void (*neigh_cleanup)(struct neighbour *);
132 struct neighbour { struct
133 struct neighbour __rcu *next; argument
152 int (*output)(struct neighbour *, struct sk_buff *); argument
161 void (*solicit)(struct neighbour *, struct sk_buff *); argument
162 void (*error_report)(struct neighbour *, struct sk_buff *);
163 int (*output)(struct neighbour *, struct sk_buff *);
164 int (*connected_output)(struct neighbour *, struct sk_buff *);
182 struct neighbour __rcu **hash_buckets;
197 bool (*key_eq)(const struct neighbour *, const void *pkey);
198 int (*constructor)(struct neighbour *);
237 static inline void *neighbour_priv(const struct neighbour *n) in neighbour_priv()
250 static inline bool neigh_key_eq16(const struct neighbour *n, const void *pkey) in neigh_key_eq16()
255 static inline bool neigh_key_eq32(const struct neighbour *n, const void *pkey) in neigh_key_eq32()
260 static inline bool neigh_key_eq128(const struct neighbour *n, const void *pkey) in neigh_key_eq128()
269 static inline struct neighbour *___neigh_lookup_noref( in ___neigh_lookup_noref()
271 bool (*key_eq)(const struct neighbour *n, const void *pkey), in ___neigh_lookup_noref()
279 struct neighbour *n; in ___neigh_lookup_noref()
293 static inline struct neighbour *__neigh_lookup_noref(struct neigh_table *tbl, in __neigh_lookup_noref()
302 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey,
304 struct neighbour *neigh_lookup_nodev(struct neigh_table *tbl, struct net *net,
306 struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey,
308 static inline struct neighbour *neigh_create(struct neigh_table *tbl, in neigh_create()
314 void neigh_destroy(struct neighbour *neigh);
315 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb);
316 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, u32 flags);
317 void __neigh_set_probe_once(struct neighbour *neigh);
320 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb);
321 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb);
322 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb);
323 struct neighbour *neigh_event_ns(struct neigh_table *tbl,
354 void neigh_app_ns(struct neighbour *n);
356 void (*cb)(struct neighbour *, void *), void *cookie);
358 int (*cb)(struct neighbour *));
368 struct neighbour *n, loff_t *pos);
408 static inline void neigh_release(struct neighbour *neigh) in neigh_release()
414 static inline struct neighbour * neigh_clone(struct neighbour *neigh) in neigh_clone()
423 static inline int neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) in neigh_event_send()
470 static inline struct neighbour *
473 struct neighbour *n = neigh_lookup(tbl, pkey, dev); in __neigh_lookup()
482 static inline struct neighbour *
486 struct neighbour *n = neigh_lookup(tbl, pkey, dev); in __neigh_lookup_errno()
503 static inline void neigh_ha_snapshot(char *dst, const struct neighbour *n, in neigh_ha_snapshot()