Lines Matching refs:vp
411 struct ldc_version *vp)
417 vp, sizeof(*vp), &new_tail);
420 vp->major, vp->minor);
573 static int process_ver_info(struct ldc_channel *lp, struct ldc_version *vp)
579 vp->major, vp->minor);
586 vap = find_by_major(vp->major);
589 } else if (vap->major != vp->major) {
592 struct ldc_version ver = *vp;
607 static int process_ver_ack(struct ldc_channel *lp, struct ldc_version *vp)
610 vp->major, vp->minor);
613 if (lp->ver.major != vp->major ||
614 lp->ver.minor != vp->minor)
617 lp->ver = *vp;
625 static int process_ver_nack(struct ldc_channel *lp, struct ldc_version *vp)
631 if (vp->major == 0 && vp->minor == 0)
634 vap = find_by_major(vp->major);
650 struct ldc_version *vp;
652 vp = (struct ldc_version *) p->u.u_data;
656 return process_ver_info(lp, vp);
659 return process_ver_ack(lp, vp);
662 return process_ver_nack(lp, vp);