Lines Matching refs:ipstatus
242 ipadm_status_t ipstatus; in i_ipadm_ngz_addr() local
247 ipstatus = ipadm_create_addrobj(IPADM_ADDR_STATIC, link, in i_ipadm_ngz_addr()
249 if (ipstatus != IPADM_SUCCESS) in i_ipadm_ngz_addr()
250 return (ipstatus); in i_ipadm_ngz_addr()
255 ipstatus = ipadm_set_addr(ipaddr, cp, AF_UNSPEC); in i_ipadm_ngz_addr()
256 if (ipstatus != IPADM_SUCCESS) { in i_ipadm_ngz_addr()
258 return (ipstatus); in i_ipadm_ngz_addr()
261 ipstatus = ipadm_create_addr(iph, ipaddr, in i_ipadm_ngz_addr()
263 if (ipstatus != IPADM_SUCCESS) { in i_ipadm_ngz_addr()
265 return (ipstatus); in i_ipadm_ngz_addr()
283 ipadm_status_t ipstatus; in i_ipadm_ngz_persist_if() local
295 ipstatus = i_ipadm_resolve_addr(addr, AF_UNSPEC, &ss); in i_ipadm_ngz_persist_if()
296 if (ipstatus != IPADM_SUCCESS) in i_ipadm_ngz_persist_if()
297 return (ipstatus); in i_ipadm_ngz_persist_if()
382 ipadm_status_t ipstatus; in i_ipadm_zone_network_attr() local
392 ipstatus = i_ipadm_zone_get_network(zoneid, linkid, in i_ipadm_zone_network_attr()
394 if (ipstatus != IPADM_SUCCESS) in i_ipadm_zone_network_attr()
422 ipstatus = i_ipadm_ngz_addr(iph, link, (char *)buf); in i_ipadm_zone_network_attr()
423 if (ipstatus != IPADM_SUCCESS) in i_ipadm_zone_network_attr()
429 ipstatus = i_ipadm_zone_get_network(zoneid, linkid, in i_ipadm_zone_network_attr()
431 if (ipstatus != IPADM_SUCCESS) in i_ipadm_zone_network_attr()
439 nwd->ngz_ipstatus = ipstatus; in i_ipadm_zone_network_attr()