Lines Matching refs:neigh
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);
408 static inline void neigh_release(struct neighbour *neigh) in neigh_release() argument
410 if (atomic_dec_and_test(&neigh->refcnt)) in neigh_release()
411 neigh_destroy(neigh); in neigh_release()
414 static inline struct neighbour * neigh_clone(struct neighbour *neigh) in neigh_clone() argument
416 if (neigh) in neigh_clone()
417 atomic_inc(&neigh->refcnt); in neigh_clone()
418 return neigh; in neigh_clone()
423 static inline int neigh_event_send(struct neighbour *neigh, struct sk_buff *skb) in neigh_event_send() argument
427 if (neigh->used != now) in neigh_event_send()
428 neigh->used = now; in neigh_event_send()
429 if (!(neigh->nud_state&(NUD_CONNECTED|NUD_DELAY|NUD_PROBE))) in neigh_event_send()
430 return __neigh_event_send(neigh, skb); in neigh_event_send()