Home
last modified time | relevance | path

Searched refs:vnicid (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dvnic_rcm.c848 vnic_update(dladm_handle_t handle, datalink_id_t vnicid, void *arg) in vnic_update() argument
861 rcm_log_message(RCM_TRACE2, "VNIC: vnic_update(%u)\n", vnicid); in vnic_update()
864 status = dladm_vnic_info(handle, vnicid, &vnic_attr, DLADM_OPT_ACTIVE); in vnic_update()
868 "%u(%s)\n", vnicid, dladm_status2str(status, errmsg)); in vnic_update()
877 "VNIC: vnic_update(): skip the etherstub %u\n", vnicid); in vnic_update()
884 strerror(errno), vnicid); in vnic_update()
916 if (vnic->dlv_vnic_id == vnicid) { in vnic_update()
932 vnic->dlv_vnic_id = vnicid; in vnic_update()
946 vnicid); in vnic_update()
1275 vnic_up(dladm_handle_t handle, datalink_id_t vnicid, void *arg) in vnic_up() argument
[all …]
/illumos-gate/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c671 vrrp_is_vrrp_vnic(vrrp_handle_t vh, datalink_id_t vnicid, in vrrp_is_vrrp_vnic() argument
676 if (dladm_vnic_info(vh->vh_dh, vnicid, &vattr, DLADM_OPT_ACTIVE) != in vrrp_is_vrrp_vnic()
689 lookup_vnic(dladm_handle_t dh, datalink_id_t vnicid, void *arg) in lookup_vnic() argument
697 if (vrrp_is_vrrp_vnic(lva->lva_vh, vnicid, &linkid, &vid, &vrid, in lookup_vnic()
701 if (dladm_datalink_id2info(dh, vnicid, NULL, NULL, NULL, in lookup_vnic()