Lines Matching full:neighbour

5 #include <linux/neighbour.h>
8 * Generic neighbour manipulation
17 * - Add neighbour cache statistics like rtstat
42 struct neighbour;
77 int (*neigh_setup)(struct neighbour *);
138 struct neighbour { struct
160 int (*output)(struct neighbour *, struct sk_buff *); argument
172 void (*solicit)(struct neighbour *, struct sk_buff *); argument
173 void (*error_report)(struct neighbour *, struct sk_buff *);
174 int (*output)(struct neighbour *, struct sk_buff *);
175 int (*connected_output)(struct neighbour *, struct sk_buff *);
189 * neighbour table manipulation
210 bool (*key_eq)(const struct neighbour *, const void *pkey);
211 int (*constructor)(struct neighbour *);
249 static inline void *neighbour_priv(const struct neighbour *n) in neighbour_priv()
279 static inline bool neigh_key_eq32(const struct neighbour *n, const void *pkey) in neigh_key_eq32()
284 static inline bool neigh_key_eq128(const struct neighbour *n, const void *pkey) in neigh_key_eq128()
293 static inline struct neighbour *___neigh_lookup_noref( in ___neigh_lookup_noref()
295 bool (*key_eq)(const struct neighbour *n, const void *pkey), in ___neigh_lookup_noref()
303 struct neighbour *n; in ___neigh_lookup_noref()
314 static inline struct neighbour *__neigh_lookup_noref(struct neigh_table *tbl, in __neigh_lookup_noref()
321 static inline void neigh_confirm(struct neighbour *n) in neigh_confirm()
326 /* avoid dirtying neighbour */ in neigh_confirm()
334 struct neighbour *neigh_lookup(struct neigh_table *tbl, const void *pkey,
336 struct neighbour *__neigh_create(struct neigh_table *tbl, const void *pkey,
338 static inline struct neighbour *neigh_create(struct neigh_table *tbl, in neigh_create()
344 void neigh_destroy(struct neighbour *neigh);
345 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb,
347 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, u32 flags,
349 void __neigh_set_probe_once(struct neighbour *neigh);
350 bool neigh_remove_one(struct neighbour *ndel);
354 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb);
355 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb);
356 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb);
357 struct neighbour *neigh_event_ns(struct neigh_table *tbl,
388 void neigh_app_ns(struct neighbour *n);
390 void (*cb)(struct neighbour *, void *), void *cookie);
392 int (*cb)(struct neighbour *));
400 struct neighbour *n, loff_t *pos);
436 * Neighbour references
439 static inline void neigh_release(struct neighbour *neigh) in neigh_release()
445 static inline struct neighbour * neigh_clone(struct neighbour *neigh) in neigh_clone()
454 static __always_inline int neigh_event_send_probe(struct neighbour *neigh, in neigh_event_send_probe()
467 static inline int neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) in neigh_event_send()
526 static inline int neigh_output(struct neighbour *n, struct sk_buff *skb, in neigh_output()
542 static inline struct neighbour *
545 struct neighbour *n = neigh_lookup(tbl, pkey, dev); in __neigh_lookup()
554 static inline struct neighbour *
558 struct neighbour *n = neigh_lookup(tbl, pkey, dev); in __neigh_lookup_errno()
575 static inline void neigh_ha_snapshot(char *dst, const struct neighbour *n, in neigh_ha_snapshot()
586 static inline void neigh_update_is_router(struct neighbour *neigh, u32 flags, in neigh_update_is_router()