Lines Matching defs:ipstat
1011 ipadm_status_t ipstat = IPADM_SUCCESS;
1043 if ((ipstat = ipadm_open(&iph, ncpname, 0, NULL)) != IPADM_SUCCESS)
1116 ipstat = ipadm_addr_info(iph, ifname, &addrinfo, IPADM_OPT_PERSIST, 0);
1117 if (ipstat != IPADM_SUCCESS) {
1118 if (ipstat == IPADM_NOSUCH_IF)
1119 ipstat = IPADM_SUCCESS;
1282 if (ipstat != IPADM_SUCCESS)
2085 ipadm_status_t ipstat = IPADM_SUCCESS;
2109 if ((ipstat = ipadm_open(&iph, ncpname, 0, NULL)) != IPADM_SUCCESS) {
2111 ipadm_status2str(ipstat));
2140 ipstat = ipadm_delete_ip(iph, ifname, AF_UNSPEC, IPADM_OPT_PERSIST);
2141 if (ipstat == IPADM_OBJ_NOTFOUND)
2142 ipstat = IPADM_SUCCESS;
2143 else if (ipstat != IPADM_SUCCESS) {
2158 if ((ipstat = ipadm_create_ip(iph, ifname, family, IPADM_OPT_PERSIST))
2256 if ((ipstat = ipadm_create_addrobj(IPADM_ADDR_DHCP, aobjname,
2261 ipstat = ipadm_create_addr(iph, addr, IPADM_OPT_PERSIST);
2263 if (ipstat != IPADM_SUCCESS) {
2286 if ((ipstat = ipadm_create_addrobj(IPADM_ADDR_STATIC, aobjname,
2291 if ((ipstat = ipadm_set_addr(addr, strvals[i], AF_INET))
2297 ipstat = ipadm_create_addr(iph, addr,
2300 if (ipstat != IPADM_SUCCESS) {
2332 if ((ipstat = ipadm_create_addrobj(IPADM_ADDR_IPV6_ADDRCONF,
2341 ipstat = ipadm_create_addr(iph, addr, IPADM_OPT_PERSIST);
2343 if (ipstat != IPADM_SUCCESS) {
2364 if ((ipstat = ipadm_create_addrobj(IPADM_ADDR_STATIC, aobjname,
2369 if ((ipstat = ipadm_set_addr(addr, strvals[i], AF_INET6))
2375 ipstat = ipadm_create_addr(iph, addr,
2378 if (ipstat != IPADM_SUCCESS) {
2390 if (ipstat != IPADM_SUCCESS) {
2392 ipadm_status2str(ipstat));
2762 ipadm_status_t ipstat;
2767 ipstat = ipadm_open(&iph, ncpname, 0, NULL);
2768 if (ipstat != IPADM_SUCCESS) {
2773 ipstat = ipadm_delete_ip(iph, ifname, AF_UNSPEC,
2777 if (ipstat == IPADM_SUCCESS)