Lines Matching defs:vh
284 vrrp_open(vrrp_handle_t *vh)
291 if ((*vh = malloc(sizeof (struct vrrp_handle))) == NULL) {
295 (*vh)->vh_dh = dh;
300 vrrp_close(vrrp_handle_t vh)
302 if (vh != NULL) {
303 dladm_close(vh->vh_dh);
304 free(vh);
327 vrrp_create(vrrp_handle_t vh, vrrp_vr_conf_t *conf)
362 vrrp_delete(vrrp_handle_t vh, const char *vn)
386 vrrp_enable(vrrp_handle_t vh, const char *vn)
408 vrrp_disable(vrrp_handle_t vh, const char *vn)
430 vrrp_modify(vrrp_handle_t vh, vrrp_vr_conf_t *conf, uint32_t mask)
515 vrrp_list(vrrp_handle_t vh, vrid_t vrid, const char *intf, int af,
603 vrrp_query(vrrp_handle_t vh, const char *vn, vrrp_queryinfo_t **vqp)
671 vrrp_is_vrrp_vnic(vrrp_handle_t vh, datalink_id_t vnicid,
676 if (dladm_vnic_info(vh->vh_dh, vnicid, &vattr, DLADM_OPT_ACTIVE) !=
714 vrrp_get_vnicname(vrrp_handle_t vh, vrid_t vrid, int af, char *link,
726 if ((strlen(link) == 0) || dladm_name2info(vh->vh_dh,
733 if (dladm_vlan_info(vh->vh_dh, linkid, &vlan_attr,
739 if ((dladm_datalink_id2info(vh->vh_dh, linkid, NULL,
746 if (dladm_vnic_info(vh->vh_dh, linkid, &vnic_attr,
774 lva.lva_vh = vh;
777 (void) dladm_walk_datalink_id(lookup_vnic, vh->vh_dh, &lva,