Lines Matching refs:lva
695 struct lookup_vnic_arg *lva = arg; in lookup_vnic() local
697 if (vrrp_is_vrrp_vnic(lva->lva_vh, vnicid, &linkid, &vid, &vrid, in lookup_vnic()
698 &af) && lva->lva_vrid == vrid && lva->lva_linkid == linkid && in lookup_vnic()
699 (lva->lva_vid == VLAN_ID_NONE || lva->lva_vid == vid) && in lookup_vnic()
700 lva->lva_af == af) { in lookup_vnic()
702 lva->lva_vnic, sizeof (lva->lva_vnic)) == DLADM_STATUS_OK) { in lookup_vnic()
723 struct lookup_vnic_arg lva; in vrrp_get_vnicname() local
770 lva.lva_vrid = vrid; in vrrp_get_vnicname()
771 lva.lva_vid = vid; in vrrp_get_vnicname()
772 lva.lva_af = af; in vrrp_get_vnicname()
773 lva.lva_linkid = linkid; in vrrp_get_vnicname()
774 lva.lva_vh = vh; in vrrp_get_vnicname()
775 lva.lva_vnic[0] = '\0'; in vrrp_get_vnicname()
777 (void) dladm_walk_datalink_id(lookup_vnic, vh->vh_dh, &lva, in vrrp_get_vnicname()
779 if (strlen(lva.lva_vnic) != 0) { in vrrp_get_vnicname()
780 (void) strlcpy(vnic, lva.lva_vnic, len); in vrrp_get_vnicname()