Lines Matching refs:neigh
315 void neigh_destroy(struct neighbour *neigh);
316 int __neigh_event_send(struct neighbour *neigh, struct sk_buff *skb);
317 int neigh_update(struct neighbour *neigh, const u8 *lladdr, u8 new, u32 flags);
318 void __neigh_set_probe_once(struct neighbour *neigh);
321 int neigh_resolve_output(struct neighbour *neigh, struct sk_buff *skb);
322 int neigh_connected_output(struct neighbour *neigh, struct sk_buff *skb);
323 int neigh_direct_output(struct neighbour *neigh, struct sk_buff *skb);
409 static inline void neigh_release(struct neighbour *neigh) in neigh_release() argument
411 if (atomic_dec_and_test(&neigh->refcnt)) in neigh_release()
412 neigh_destroy(neigh); in neigh_release()
415 static inline struct neighbour * neigh_clone(struct neighbour *neigh) in neigh_clone() argument
417 if (neigh) in neigh_clone()
418 atomic_inc(&neigh->refcnt); in neigh_clone()
419 return neigh; in neigh_clone()
424 static inline int neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) in neigh_event_send() argument
428 if (neigh->used != now) in neigh_event_send()
429 neigh->used = now; in neigh_event_send()
430 if (!(neigh->nud_state&(NUD_CONNECTED|NUD_DELAY|NUD_PROBE))) in neigh_event_send()
431 return __neigh_event_send(neigh, skb); in neigh_event_send()