Lines Matching refs:neigh
78 pr_debug("%p to entry %p (neigh %p)\n", clip_vcc, entry, entry->neigh); in link_vcc()
83 entry->neigh->used = jiffies; in link_vcc()
95 netif_tx_lock_bh(entry->neigh->dev); /* block clip_start_xmit() */ in unlink_clip_vcc()
96 entry->neigh->used = jiffies; in unlink_clip_vcc()
104 netif_wake_queue(entry->neigh->dev); in unlink_clip_vcc()
109 error = neigh_update(entry->neigh, NULL, NUD_NONE, in unlink_clip_vcc()
117 netif_tx_unlock_bh(entry->neigh->dev); in unlink_clip_vcc()
211 skb->dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : clip_devs; in clip_push()
266 static void clip_neigh_solicit(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_solicit() argument
268 __be32 *ip = (__be32 *) neigh->primary_key; in clip_neigh_solicit()
270 pr_debug("(neigh %p, skb %p)\n", neigh, skb); in clip_neigh_solicit()
271 to_atmarpd(act_need, PRIV(neigh->dev)->number, *ip); in clip_neigh_solicit()
274 static void clip_neigh_error(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_error() argument
290 static int clip_constructor(struct net_device *dev, struct neighbour *neigh) in clip_constructor() argument
292 struct atmarp_entry *entry = neighbour_priv(neigh); in clip_constructor()
294 if (neigh->tbl->family != AF_INET) in clip_constructor()
297 if (neigh->type != RTN_UNICAST) in clip_constructor()
300 neigh->nud_state = NUD_NONE; in clip_constructor()
301 neigh->ops = &clip_neigh_ops; in clip_constructor()
302 neigh->output = neigh->ops->output; in clip_constructor()
303 entry->neigh = neigh; in clip_constructor()
367 if (entry->neigh->arp_queue.qlen < ATMARP_MAX_UNRES_PACKETS) in clip_start_xmit()
368 skb_queue_tail(&entry->neigh->arp_queue, skb); in clip_start_xmit()
446 struct neighbour *neigh; in clip_setentry() local
469 neigh = __neigh_lookup(&arp_tbl, &ip, rt->dst.dev, 1); in clip_setentry()
471 if (!neigh) in clip_setentry()
473 entry = neighbour_priv(neigh); in clip_setentry()
483 error = neigh_update(neigh, llc_oui, NUD_PERMANENT, in clip_setentry()
485 neigh_release(neigh); in clip_setentry()
750 exp = entry->neigh->used; in atmarp_info()
770 refcount_read(&entry->neigh->refcnt)); in atmarp_info()