Lines Matching refs:status

178  * Returns a message string for the given libipadm error status.
181 ipadm_status2str(ipadm_status_t status)
186 if (status == ipadm_errors[i].error_code)
239 ipadm_status_t status = IPADM_SUCCESS;
320 return (status);
323 status = ipadm_errno2status(errno);
325 return (status);
437 * announce the new address added and its flag status.
505 ipadm_status_t status;
509 status = i_ipadm_get_flags(iph, lifname, af, &oflags);
510 if (status != IPADM_SUCCESS)
511 return (status);
517 * we get a routing socket message. We care about the status,
560 status = i_ipadm_dad_wait(iph, lifname, af, rtsock);
562 return (status);
748 ipadm_status_t status = IPADM_SUCCESS;
768 status = ipadm_set_ifprop(iph, ifname, pname, pval, proto,
770 if (status != IPADM_SUCCESS)
776 status = ipadm_errno2status(err);
778 return (status);
794 ipadm_status_t status = IPADM_SUCCESS;
820 status = i_ipadm_enable_static(iph, ifname, nvl, af);
823 status = i_ipadm_enable_dhcp(iph, ifname, nvl);
824 if (status == IPADM_DHCP_IPC_TIMEOUT)
825 status = IPADM_SUCCESS;
828 status = i_ipadm_enable_addrconf(iph, ifname, nvl);
831 if (status != IPADM_SUCCESS)
832 return (status);
850 if ((status = ipadm_set_addrprop(iph, name, pval, aobjname,
852 return (status);
855 return (status);
872 ipadm_status_t status;
903 status = i_ipadm_ipmpif_from_nvl(ifnvl, ifname, ipmpif,
905 if (status == IPADM_OBJ_NOTFOUND)
907 else if (status != IPADM_SUCCESS)
908 return (status);
911 if ((status = i_ipadm_init_ifobj(iph, ifname,
913 return (status);
934 status = i_ipadm_init_addrobj(iph, nvl);
941 if (status == IPADM_CANNOT_ASSIGN_ADDR) {
943 status = IPADM_SUCCESS;
944 } else if (status == IPADM_DHCP_INVALID_IF) {
946 status = IPADM_SUCCESS;
949 status = i_ipadm_init_ifprop(iph, nvl);
952 if (status != IPADM_SUCCESS)
953 return (status);
957 status = i_ipadm_add_ipmp_bringup_underif(iph, ifname);
958 if (status != IPADM_SUCCESS)
959 return (status);
976 ipadm_status_t status;
988 status = i_ipadm_plumb_if(iph, (char *)ifname, af, class,
995 if (status == IPADM_IF_EXISTS)
996 status = IPADM_SUCCESS;
997 if (status != IPADM_SUCCESS)
998 return (status);
1016 status = i_ipadm_add_ipmp(iph, lifr.lifr_groupname, ipmpif,
1018 if (status != IPADM_SUCCESS)
1019 return (status);
1141 ipadm_status_t status;
1146 status = i_ipadm_persist_if_info(iph, ifname, &ifinfo);
1147 if (status == IPADM_SUCCESS) {
1182 * return status, should set `rbufp' to NULL and set `rsize' to 0.