Lines Matching refs:vp
413 struct ldc_version *vp) in send_version_ack() argument
419 vp, sizeof(*vp), &new_tail); in send_version_ack()
422 vp->major, vp->minor); in send_version_ack()
574 static int process_ver_info(struct ldc_channel *lp, struct ldc_version *vp) in process_ver_info() argument
580 vp->major, vp->minor); in process_ver_info()
587 vap = find_by_major(vp->major); in process_ver_info()
590 } else if (vap->major != vp->major) { in process_ver_info()
593 struct ldc_version ver = *vp; in process_ver_info()
608 static int process_ver_ack(struct ldc_channel *lp, struct ldc_version *vp) in process_ver_ack() argument
611 vp->major, vp->minor); in process_ver_ack()
614 if (lp->ver.major != vp->major || in process_ver_ack()
615 lp->ver.minor != vp->minor) in process_ver_ack()
618 lp->ver = *vp; in process_ver_ack()
626 static int process_ver_nack(struct ldc_channel *lp, struct ldc_version *vp) in process_ver_nack() argument
632 if (vp->major == 0 && vp->minor == 0) in process_ver_nack()
635 vap = find_by_major(vp->major); in process_ver_nack()
651 struct ldc_version *vp; in process_version() local
653 vp = (struct ldc_version *) p->u.u_data; in process_version()
657 return process_ver_info(lp, vp); in process_version()
660 return process_ver_ack(lp, vp); in process_version()
663 return process_ver_nack(lp, vp); in process_version()