Lines Matching defs:ver_pkt

2307 	vio_ver_msg_t	*ver_pkt;
2316 ver_pkt = (vio_ver_msg_t *)pkt;
2318 switch (ver_pkt->tag.vio_subtype) {
2329 (ldcp->peer_session != ver_pkt->tag.vio_sid)) {
2332 ldcp->peer_session, ver_pkt->tag.vio_sid);
2335 ldcp->peer_session = ver_pkt->tag.vio_sid;
2347 if (ver_pkt->dev_class != VDEV_NETWORK) {
2349 ver_pkt->dev_class);
2351 ver_pkt->tag.vio_sid = ldcp->local_session;
2352 ver_pkt->tag.vio_subtype = VIO_SUBTYPE_NACK;
2354 DUMP_TAG_PTR((vio_msg_tag_t *)ver_pkt);
2356 (void) vsw_send_msg(ldcp, (void *)ver_pkt,
2363 ldcp->dev_class = ver_pkt->dev_class;
2369 if (vsw_supported_version(ver_pkt) == 0) {
2376 ver_pkt->ver_major, ver_pkt->ver_minor);
2379 ldcp->lane_in.ver_major = ver_pkt->ver_major;
2380 ldcp->lane_in.ver_minor = ver_pkt->ver_minor;
2382 ver_pkt->tag.vio_subtype = VIO_SUBTYPE_ACK;
2410 ver_pkt->ver_major, ver_pkt->ver_minor);
2413 ldcp->lane_in.ver_major = ver_pkt->ver_major;
2414 ldcp->lane_in.ver_minor = ver_pkt->ver_minor;
2416 ver_pkt->tag.vio_subtype = VIO_SUBTYPE_NACK;
2421 DUMP_TAG_PTR((vio_msg_tag_t *)ver_pkt);
2422 ver_pkt->tag.vio_sid = ldcp->local_session;
2423 (void) vsw_send_msg(ldcp, (void *)ver_pkt,
2436 ldcp->lane_out.ver_major = ver_pkt->ver_major;
2437 ldcp->lane_out.ver_minor = ver_pkt->ver_minor;
2456 if ((ver_pkt->ver_major == 0) && (ver_pkt->ver_minor == 0)) {
2469 (void) vsw_supported_version(ver_pkt);
2470 if ((ver_pkt->ver_major == 0) && (ver_pkt->ver_minor == 0)) {
2478 ldcp->lane_out.ver_major = ver_pkt->ver_major;
2479 ldcp->lane_out.ver_minor = ver_pkt->ver_minor;
2482 __func__, ver_pkt->ver_major, ver_pkt->ver_minor);
2485 ver_pkt->tag.vio_sid = ldcp->local_session;
2486 ver_pkt->tag.vio_subtype = VIO_SUBTYPE_INFO;
2488 DUMP_TAG_PTR((vio_msg_tag_t *)ver_pkt);
2490 (void) vsw_send_msg(ldcp, (void *)ver_pkt,
2500 ver_pkt->tag.vio_subtype);