clip_vcc 18 include/net/atmclip.h #define CLIP_VCC(vcc) ((struct clip_vcc *) ((vcc)->user_back)) clip_vcc 34 include/net/atmclip.h struct clip_vcc *next; /* next VCC */ clip_vcc 39 include/net/atmclip.h struct clip_vcc *vccs; /* active VCCs; NULL if resolution is clip_vcc 76 net/atm/clip.c static void link_vcc(struct clip_vcc *clip_vcc, struct atmarp_entry *entry) clip_vcc 78 net/atm/clip.c pr_debug("%p to entry %p (neigh %p)\n", clip_vcc, entry, entry->neigh); clip_vcc 79 net/atm/clip.c clip_vcc->entry = entry; clip_vcc 80 net/atm/clip.c clip_vcc->xoff = 0; /* @@@ may overrun buffer by one packet */ clip_vcc 81 net/atm/clip.c clip_vcc->next = entry->vccs; clip_vcc 82 net/atm/clip.c entry->vccs = clip_vcc; clip_vcc 86 net/atm/clip.c static void unlink_clip_vcc(struct clip_vcc *clip_vcc) clip_vcc 88 net/atm/clip.c struct atmarp_entry *entry = clip_vcc->entry; clip_vcc 89 net/atm/clip.c struct clip_vcc **walk; clip_vcc 92 net/atm/clip.c pr_err("!clip_vcc->entry (clip_vcc %p)\n", clip_vcc); clip_vcc 98 net/atm/clip.c if (*walk == clip_vcc) { clip_vcc 101 net/atm/clip.c *walk = clip_vcc->next; /* atomic */ clip_vcc 102 net/atm/clip.c clip_vcc->entry = NULL; clip_vcc 103 net/atm/clip.c if (clip_vcc->xoff) clip_vcc 115 net/atm/clip.c pr_err("ATMARP: failed (entry %p, vcc 0x%p)\n", entry, clip_vcc); clip_vcc 124 net/atm/clip.c struct clip_vcc *cv; clip_vcc 192 net/atm/clip.c struct clip_vcc *clip_vcc = CLIP_VCC(vcc); clip_vcc 203 net/atm/clip.c pr_debug("removing VCC %p\n", clip_vcc); clip_vcc 204 net/atm/clip.c if (clip_vcc->entry) clip_vcc 205 net/atm/clip.c unlink_clip_vcc(clip_vcc); clip_vcc 206 net/atm/clip.c clip_vcc->old_push(vcc, NULL); /* pass on the bad news */ clip_vcc 207 net/atm/clip.c kfree(clip_vcc); clip_vcc 211 net/atm/clip.c skb->dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : clip_devs; clip_vcc 219 net/atm/clip.c if (!clip_vcc->encap || clip_vcc 233 net/atm/clip.c clip_vcc->last_use = jiffies; clip_vcc 247 net/atm/clip.c struct clip_vcc *clip_vcc = CLIP_VCC(vcc); clip_vcc 253 net/atm/clip.c clip_vcc->old_pop(vcc, skb); clip_vcc 259 net/atm/clip.c old = xchg(&clip_vcc->xoff, 0); clip_vcc 417 net/atm/clip.c struct clip_vcc *clip_vcc; clip_vcc 421 net/atm/clip.c clip_vcc = kmalloc(sizeof(struct clip_vcc), GFP_KERNEL); clip_vcc 422 net/atm/clip.c if (!clip_vcc) clip_vcc 424 net/atm/clip.c pr_debug("%p vcc %p\n", clip_vcc, vcc); clip_vcc 425 net/atm/clip.c clip_vcc->vcc = vcc; clip_vcc 426 net/atm/clip.c vcc->user_back = clip_vcc; clip_vcc 428 net/atm/clip.c clip_vcc->entry = NULL; clip_vcc 429 net/atm/clip.c clip_vcc->xoff = 0; clip_vcc 430 net/atm/clip.c clip_vcc->encap = 1; clip_vcc 431 net/atm/clip.c clip_vcc->last_use = jiffies; clip_vcc 432 net/atm/clip.c clip_vcc->idle_timeout = timeout * HZ; clip_vcc 433 net/atm/clip.c clip_vcc->old_push = vcc->push; clip_vcc 434 net/atm/clip.c clip_vcc->old_pop = vcc->pop; clip_vcc 449 net/atm/clip.c struct clip_vcc *clip_vcc; clip_vcc 456 net/atm/clip.c clip_vcc = CLIP_VCC(vcc); clip_vcc 458 net/atm/clip.c if (!clip_vcc->entry) { clip_vcc 463 net/atm/clip.c unlink_clip_vcc(clip_vcc); clip_vcc 474 net/atm/clip.c if (entry != clip_vcc->entry) { clip_vcc 475 net/atm/clip.c if (!clip_vcc->entry) clip_vcc 479 net/atm/clip.c unlink_clip_vcc(clip_vcc); clip_vcc 481 net/atm/clip.c link_vcc(clip_vcc, entry); clip_vcc 737 net/atm/clip.c struct atmarp_entry *entry, struct clip_vcc *clip_vcc) clip_vcc 744 net/atm/clip.c svc = ((clip_vcc == SEQ_NO_VCC_TOKEN) || clip_vcc 745 net/atm/clip.c (sk_atm(clip_vcc->vcc)->sk_family == AF_ATMSVC)); clip_vcc 747 net/atm/clip.c llc = ((clip_vcc == SEQ_NO_VCC_TOKEN) || clip_vcc->encap); clip_vcc 749 net/atm/clip.c if (clip_vcc == SEQ_NO_VCC_TOKEN) clip_vcc 752 net/atm/clip.c exp = clip_vcc->last_use; clip_vcc 765 net/atm/clip.c if (clip_vcc == SEQ_NO_VCC_TOKEN) { clip_vcc 773 net/atm/clip.c clip_vcc->vcc->dev->number, clip_vcc 774 net/atm/clip.c clip_vcc->vcc->vpi, clip_vcc->vcc->vci); clip_vcc 776 net/atm/clip.c svc_addr(seq, &clip_vcc->vcc->remote); clip_vcc 786 net/atm/clip.c struct clip_vcc *vcc; clip_vcc 789 net/atm/clip.c static struct clip_vcc *clip_seq_next_vcc(struct atmarp_entry *e, clip_vcc 790 net/atm/clip.c struct clip_vcc *curr) clip_vcc 809 net/atm/clip.c struct clip_vcc *vcc = state->vcc; clip_vcc 852 net/atm/clip.c struct clip_vcc *vcc = state->vcc; clip_vcc 160 net/atm/proc.c struct clip_vcc *clip_vcc = CLIP_VCC(vcc); clip_vcc 163 net/atm/proc.c dev = clip_vcc->entry ? clip_vcc->entry->neigh->dev : NULL; clip_vcc 166 net/atm/proc.c seq_printf(seq, "%s", clip_vcc->encap ? "LLC/SNAP" : "None");