Lines Matching defs:ipmpif
434 char **af_strs, *ipmpif, **unders, *standby;
476 ipmpif = NULL;
491 (void) netcfg_nvp_get_one_string(nvp2, &ipmpif);
498 if (ipmpif != NULL && ipmpif[0] != '\0')
2045 * Adds an underlying interface `underif' to the IPMP interface `ipmpif'.
2048 ipadm_add_ipmp(ipadm_handle_t iph, const char *ipmpif, const char *underif,
2051 return (i_ipadm_update_ipmp(iph, ipmpif, underif, IPADM_IPMPOP_ADD,
2057 * `ipmpif'.
2060 ipadm_remove_ipmp(ipadm_handle_t iph, const char *ipmpif, const char *underif,
2063 return (i_ipadm_update_ipmp(iph, ipmpif, underif, IPADM_IPMPOP_REMOVE,
2069 * interface `ipmpif'.
2072 i_ipadm_update_ipmp(ipadm_handle_t iph, const char *ipmpif,
2085 underif == NULL || ipmpif == NULL)
2097 status = i_ipadm_persist_update_ipmp(iph, ipmpif,
2110 ipmp_pexist = i_ipadm_if_pexists(iph, ipmpif, AF_UNSPEC);
2117 if (!ipadm_if_enabled(iph, ipmpif, AF_UNSPEC)) {
2122 if (!ipadm_is_ipmp(iph, ipmpif))
2137 status = i_ipadm_get_groupname(iph, ipmpif, grname, LIFGRNAMSIZ);
2144 status = i_ipadm_add_ipmp(iph, grname, ipmpif, underif, flags);
2159 return (i_ipadm_remove_ipmp(iph, grname, ipmpif, underif, flags));
2161 (void) i_ipadm_remove_ipmp(iph, grname, ipmpif, underif, flags);
2166 * Adds the given `underif' to the IPMP interface `ipmpif'.
2170 * IPADM_SUCCESS, when `underif' is successfully added to `ipmpif',
2171 * IPADM_NOSUCH_IPMPIF, when `ipmpif' does not exist.
2177 * IPADM_IPMPIF_MISSING_AF, when `ipmpif' exists but is not plumbed for the
2203 i_ipadm_add_ipmp(ipadm_handle_t iph, const char *grname, const char *ipmpif,
2234 status = i_ipadm_persist_update_ipmp(iph, ipmpif, underif,
2237 (void) i_ipadm_remove_ipmp(iph, grname, ipmpif,
2257 i_ipadm_remove_ipmp(ipadm_handle_t iph, const char *grname, const char *ipmpif,
2294 status = i_ipadm_persist_update_ipmp(iph, ipmpif, underif,
2464 * IPMP interface `ipmpif' in the persistent DB.
2467 i_ipadm_persist_update_ipmp(ipadm_handle_t iph, const char *ipmpif,
2474 (void) strlcpy(ipmparg.ia_ipmpif, ipmpif, sizeof (ipmparg.ia_ipmpif));
2863 * from `underif', and recreates them on `ipmpif'.
2926 char *ipmpif, size_t len)
2939 (void) strlcpy(ipmpif, ifp->ifi_name, len);
3045 i_ipadm_enable_disable_underifs(ipadm_handle_t iph, const char *ipmpif,
3052 if (ipadm_if_info(iph, ipmpif, &ifinfo, 0, 0) != IPADM_SUCCESS)