Home
last modified time | relevance | path

Searched refs:ipstatus (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c242 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()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_ip.c378 ipadm_status_t ipstatus; in nwamd_dhcp_managing() local
380 if ((ipstatus = ipadm_addr_info(ipadm_handle, ncu->ncu_name, &addrinfo, in nwamd_dhcp_managing()
384 ncu->ncu_name, ipadm_status2str(ipstatus)); in nwamd_dhcp_managing()
561 ipadm_status_t ipstatus; in stateless_running() local
565 if ((ipstatus = ipadm_addr_info(ipadm_handle, ncu->ncu_name, &ainfo, in stateless_running()
569 ncu->ncu_name, ipadm_status2str(ipstatus)); in stateless_running()
595 ipadm_status_t ipstatus; in addrinfo_for_addr() local
597 ipstatus = ipadm_addr_info(ipadm_handle, ifname, &addrinfo, 0, 0); in addrinfo_for_addr()
598 if (ipstatus != IPADM_SUCCESS) { in addrinfo_for_addr()
601 ifname, ipadm_status2str(ipstatus)); in addrinfo_for_addr()
[all …]
H A Dncu.c754 ipadm_status_t ipstatus; in populate_ip_ncu_properties() local
860 ipstatus = ipadm_create_addrobj(IPADM_ADDR_DHCP, in populate_ip_ncu_properties()
862 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties()
865 ipadm_status2str(ipstatus)); in populate_ip_ncu_properties()
869 ipstatus = ipadm_set_wait_time(ipaddr, ncu_wait_time); in populate_ip_ncu_properties()
870 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties()
873 ipadm_status2str(ipstatus)); in populate_ip_ncu_properties()
877 ipstatus = ipadm_set_primary(ipaddr, dhcp_primary); in populate_ip_ncu_properties()
878 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties()
881 ipadm_status2str(ipstatus)); in populate_ip_ncu_properties()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_main.c304 ipadm_status_t ipstatus; in ipmgmt_ngz_init() local
326 ipstatus = ipadm_open(&iph, IPH_IPMGMTD); in ipmgmt_ngz_init()
327 if (ipstatus != IPADM_SUCCESS) { in ipmgmt_ngz_init()
329 ipadm_status2str(ipstatus)); in ipmgmt_ngz_init()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/
H A Dvrrpd.c1564 ipadm_status_t ipstatus; in vrrpd_walk_addr_info() local
1573 ipstatus = ipadm_addr_info(vrrp_ipadm_handle, NULL, &ainfo, 0, 0); in vrrpd_walk_addr_info()
1574 if (ipstatus != IPADM_SUCCESS) { in vrrpd_walk_addr_info()
1577 af_str(af), ipadm_status2str(ipstatus)); in vrrpd_walk_addr_info()
1619 ipstatus = IPADM_FAILURE; in vrrpd_walk_addr_info()
1625 return (ipstatus); in vrrpd_walk_addr_info()