Lines Matching refs:neigh

77 	pr_debug("%p to entry %p (neigh %p)\n", clip_vcc, entry, entry->neigh);  in link_vcc()
82 entry->neigh->used = jiffies; in link_vcc()
94 netif_tx_lock_bh(entry->neigh->dev); /* block clip_start_xmit() */ in unlink_clip_vcc()
95 entry->neigh->used = jiffies; in unlink_clip_vcc()
103 netif_wake_queue(entry->neigh->dev); in unlink_clip_vcc()
108 error = neigh_update(entry->neigh, NULL, NUD_NONE, in unlink_clip_vcc()
116 netif_tx_unlock_bh(entry->neigh->dev); in unlink_clip_vcc()
210 skb->dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : clip_devs; in clip_push()
265 static void clip_neigh_solicit(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_solicit() argument
267 __be32 *ip = (__be32 *) neigh->primary_key; in clip_neigh_solicit()
269 pr_debug("(neigh %p, skb %p)\n", neigh, skb); in clip_neigh_solicit()
270 to_atmarpd(act_need, PRIV(neigh->dev)->number, *ip); in clip_neigh_solicit()
273 static void clip_neigh_error(struct neighbour *neigh, struct sk_buff *skb) in clip_neigh_error() argument
289 static int clip_constructor(struct neighbour *neigh) in clip_constructor() argument
291 struct atmarp_entry *entry = neighbour_priv(neigh); in clip_constructor()
293 if (neigh->tbl->family != AF_INET) in clip_constructor()
296 if (neigh->type != RTN_UNICAST) in clip_constructor()
299 neigh->nud_state = NUD_NONE; in clip_constructor()
300 neigh->ops = &clip_neigh_ops; in clip_constructor()
301 neigh->output = neigh->ops->output; in clip_constructor()
302 entry->neigh = neigh; in clip_constructor()
366 if (entry->neigh->arp_queue.qlen < ATMARP_MAX_UNRES_PACKETS) in clip_start_xmit()
367 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 atomic_read(&entry->neigh->refcnt)); in atmarp_info()