Lines Matching defs:vermsg
3264 vio_ver_msg_t vermsg;
3265 vio_msg_tag_t *tagp = &vermsg.tag;
3268 bzero(&vermsg, sizeof (vermsg));
3276 vermsg.ver_major = ldcp->local_hparams.ver_major;
3277 vermsg.ver_minor = ldcp->local_hparams.ver_minor;
3278 vermsg.dev_class = ldcp->local_hparams.dev_class;
3280 rv = vgen_sendmsg(ldcp, (caddr_t)tagp, sizeof (vermsg), B_FALSE);
3288 vermsg.ver_major, vermsg.ver_minor);
4309 vio_ver_msg_t *vermsg = (vio_ver_msg_t *)tagp;
4340 ldcp->peer_hparams.ver_major = vermsg->ver_major;
4341 ldcp->peer_hparams.ver_minor = vermsg->ver_minor;
4342 ldcp->peer_hparams.dev_class = vermsg->dev_class;
4344 if ((vermsg->dev_class != VDEV_NETWORK) &&
4345 (vermsg->dev_class != VDEV_NETWORK_SWITCH)) {
4354 sizeof (*vermsg), B_FALSE);
4362 vermsg->ver_major, vermsg->ver_minor);
4368 if (vermsg->ver_major > versions[idx].ver_major) {
4372 vermsg->ver_major = versions[idx].ver_major;
4373 vermsg->ver_minor = versions[idx].ver_minor;
4377 if (vermsg->ver_major == versions[idx].ver_major) {
4387 if (vermsg->ver_minor >
4389 vermsg->ver_minor =
4403 vermsg->ver_major = 0;
4404 vermsg->ver_minor = 0;
4414 rv = vgen_sendmsg(ldcp, (caddr_t)tagp, sizeof (*vermsg),
4423 vermsg->ver_major, vermsg->ver_minor);
4459 ldcp->local_hparams.ver_major = vermsg->ver_major;
4460 ldcp->local_hparams.ver_minor = vermsg->ver_minor;
4464 vermsg->ver_major, vermsg->ver_minor);
4496 vermsg->ver_major, vermsg->ver_minor);
4499 if (vermsg->ver_major == 0 && vermsg->ver_minor == 0) {
4511 if (vermsg->ver_major > versions[idx].ver_major) {
4521 if (vermsg->ver_major == versions[idx].ver_major) {