/illumos-gate/usr/src/lib/libipadm/common/ |
H A D | ipadm_if.c | 114 ipadm_status_t status = IPADM_SUCCESS; in i_ipadm_active_if_info() 145 i_ipadm_allocate_ifinfo(&ifp)) != IPADM_SUCCESS) in i_ipadm_active_if_info() 215 if (status != IPADM_SUCCESS) { in i_ipadm_active_if_info() 231 ipadm_status_t status = IPADM_SUCCESS; in i_ipadm_persist_if_info() 237 ifname, &ifs_info_nvl)) != IPADM_SUCCESS) in i_ipadm_persist_if_info() 252 ipadm_status_t status = IPADM_SUCCESS; in i_ipadm_nvl2ifinfo() 262 if (status != IPADM_SUCCESS) { in i_ipadm_nvl2ifinfo() 320 return (IPADM_SUCCESS); in i_ipadm_fill_pmembers() 331 return (IPADM_SUCCESS); in i_ipadm_fill_pmembers() 345 ipadm_status_t ipadm_status = IPADM_SUCCESS; in i_ipadm_fill_cmembers() [all …]
|
H A D | ipadm_addr.c | 194 return (IPADM_SUCCESS); in i_ipadm_pd2permstr() 250 return (IPADM_SUCCESS); in i_ipadm_get_addrobj() 274 if (status != IPADM_SUCCESS) in i_ipadm_get_static_addr_db() 308 ipadm_set_addr(ipaddr, sname, af) != IPADM_SUCCESS) in i_ipadm_get_static_addr_db() 311 return (IPADM_SUCCESS); in i_ipadm_get_static_addr_db() 341 return (IPADM_SUCCESS); in i_ipadm_get_lif2addrobj() 414 return (IPADM_SUCCESS); in i_ipadm_active_addr_info() 492 if (status == IPADM_SUCCESS) { in i_ipadm_active_addr_info() 549 return (IPADM_SUCCESS); in i_ipadm_active_addr_info() 682 return (IPADM_SUCCESS); in i_ipadm_nvl2ainfo_common() [all …]
|
H A D | libipadm.c | 66 { IPADM_SUCCESS, "Operation succeeded" }, 114 return (IPADM_SUCCESS); in ipadm_errno2status() 184 ipadm_status_t status = IPADM_SUCCESS; in ipadm_open() 322 return (IPADM_SUCCESS); in i_ipadm_get_index() 359 if (retv != IPADM_SUCCESS) in i_ipadm_dad_wait() 376 return (IPADM_SUCCESS); in i_ipadm_dad_wait() 380 if (retv != IPADM_SUCCESS) in i_ipadm_dad_wait() 385 return (IPADM_SUCCESS); in i_ipadm_dad_wait() 407 if (ret != IPADM_SUCCESS) in i_ipadm_set_flags() 432 return (IPADM_SUCCESS); in i_ipadm_set_flags() [all …]
|
H A D | ipadm_ngz.c | 249 if (ipstatus != IPADM_SUCCESS) in i_ipadm_ngz_addr() 256 if (ipstatus != IPADM_SUCCESS) { in i_ipadm_ngz_addr() 263 if (ipstatus != IPADM_SUCCESS) { in i_ipadm_ngz_addr() 269 return (IPADM_SUCCESS); in i_ipadm_ngz_addr() 296 if (ipstatus != IPADM_SUCCESS) in i_ipadm_ngz_persist_if() 310 return (IPADM_SUCCESS); in i_ipadm_ngz_persist_if() 351 ipadm_status_t ret = IPADM_SUCCESS; in i_ipadm_zone_get_network() 394 if (ipstatus != IPADM_SUCCESS) in i_ipadm_zone_network_attr() 423 if (ipstatus != IPADM_SUCCESS) in i_ipadm_zone_network_attr() 431 if (ipstatus != IPADM_SUCCESS) in i_ipadm_zone_network_attr() [all …]
|
H A D | ipadm_ndpd.c | 93 if (status != IPADM_SUCCESS) in i_ipadm_create_ipv6addrs() 104 if (status != IPADM_SUCCESS && in i_ipadm_create_ipv6addrs() 114 if (status != IPADM_SUCCESS) { in i_ipadm_create_ipv6addrs() 138 status = IPADM_SUCCESS; in i_ipadm_delete_ipv6addrs() 140 if (status == IPADM_SUCCESS) in i_ipadm_delete_ipv6addrs() 162 if (status != IPADM_SUCCESS) in i_ipadm_create_linklocal() 168 if (status != IPADM_SUCCESS) in i_ipadm_create_linklocal() 206 return (IPADM_SUCCESS); in i_ipadm_create_linklocal()
|
H A D | ipadm_prop.c | 399 if (status != IPADM_SUCCESS) in i_ipadm_set_mtu() 417 return (IPADM_SUCCESS); in i_ipadm_set_mtu() 450 return (IPADM_SUCCESS); in i_ipadm_set_metric() 492 return (IPADM_SUCCESS); in i_ipadm_set_usesrc() 570 if (status != IPADM_SUCCESS) in i_ipadm_get_hostmodel() 588 return (IPADM_SUCCESS); in i_ipadm_get_hostmodel() 596 ipadm_status_t status = IPADM_SUCCESS; in i_ipadm_set_ifprop_flags() 664 ipadm_status_t status = IPADM_SUCCESS; in i_ipadm_set_eprivport() 701 if (status != IPADM_SUCCESS) in i_ipadm_set_eprivport() 777 ipadm_status_t status = IPADM_SUCCESS; in i_ipadm_get_ecnsack() [all …]
|
H A D | ipadm_persist.c | 249 IPADM_SUCCESS) in i_ipadm_intfid_nvp2dbline() 394 return (IPADM_SUCCESS); in i_ipadm_add_ipaddr2nvl() 444 return (IPADM_SUCCESS); in i_ipadm_add_intfid2nvl() 477 return (IPADM_SUCCESS); in i_ipadm_add_dhcp2nvl() 744 ipadm_status_t ret = IPADM_SUCCESS; in i_ipadm_groupmembers_dbline2nvl() 776 IPADM_NVP_MIFNAMES, members, m_cnt))) != IPADM_SUCCESS) in i_ipadm_groupmembers_dbline2nvl() 843 if (status != IPADM_SUCCESS) in ipadm_str2nvlist() 847 return (IPADM_SUCCESS); in ipadm_str2nvlist()
|
H A D | libipadm.h | 62 IPADM_SUCCESS, /* No error occurred */ enumerator
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipadm/ |
H A D | ipadm.c | 432 if (status != IPADM_SUCCESS) { in main() 485 if (status != IPADM_SUCCESS) { in do_create_ip_common() 654 if (status != IPADM_SUCCESS) in do_action_ipmp() 687 } else if (status != IPADM_SUCCESS) { in do_enable_if() 706 if (status != IPADM_SUCCESS) { in do_delete_ip() 726 if (status != IPADM_SUCCESS) { in do_disable_if() 756 if (status != IPADM_SUCCESS) { in print_prop() 767 statep->sps_status = IPADM_SUCCESS; in print_prop() 786 if (statep->sps_status != IPADM_SUCCESS) in print_prop_cb() 818 if (statep->sps_status != IPADM_SUCCESS) in print_prop_cb() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | ncu_ip.c | 282 ipadm_get_addr(nifap->ipaddr, &saddr) != IPADM_SUCCESS) in find_static_address() 381 0, 0)) != IPADM_SUCCESS) { in nwamd_dhcp_managing() 566 0, 0)) != IPADM_SUCCESS) { in stateless_running() 598 if (ipstatus != IPADM_SUCCESS) { in addrinfo_for_addr() 646 if (ipstatus != IPADM_SUCCESS) in addrinfo_for_ipaddr() 650 if (ipstatus != IPADM_SUCCESS) { in addrinfo_for_ipaddr() 711 IPADM_OPT_ACTIVE | IPADM_OPT_UP)) != IPADM_SUCCESS) { in add_ip_address() 1222 IPADM_OPT_ACTIVE | rflags)) != IPADM_SUCCESS) { in nwamd_down_interface() 1245 != IPADM_SUCCESS) in dhcp_release() 1278 if (ipstatus != IPADM_SUCCESS) { in nwamd_plumb_unplumb_interface() [all …]
|
H A D | ncu.c | 862 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties() 870 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties() 878 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties() 886 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties() 920 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties() 931 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties() 1012 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties() 1022 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties() 1032 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties() 1067 if (ipstatus != IPADM_SUCCESS) { in populate_ip_ncu_properties() [all …]
|
H A D | main.c | 379 if (irc != IPADM_SUCCESS) in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | ndd.c | 258 if ((status = ipadm_open(&iph, IPH_LEGACY)) != IPADM_SUCCESS) in do_ipadm_getset() 302 if (status != IPADM_SUCCESS) in do_ipadm_getset() 336 if (status != IPADM_SUCCESS) in do_ipadm_getset()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ifconfig/ |
H A D | ifconfig.c | 434 if ((istatus = ipadm_open(&iph, IPH_LEGACY)) != IPADM_SUCCESS) in main() 543 if (istatus != IPADM_SUCCESS) in foreachinterface() 748 if (istatus != IPADM_SUCCESS) { in ifconfig() 763 if (istatus != IPADM_SUCCESS) in ifconfig() 836 if (istatus != IPADM_SUCCESS) in ifconfig() 1001 if (istatus != IPADM_SUCCESS) in setifaddr() 1013 if (istatus != IPADM_SUCCESS) in setifaddr() 1916 if (istatus != IPADM_SUCCESS) in addif() 1939 if (istatus != IPADM_SUCCESS) in addif() 2010 if (istatus != IPADM_SUCCESS) in removeif() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_main.c | 327 if (ipstatus != IPADM_SUCCESS) { in ipmgmt_ngz_init()
|
H A D | ipmgmt_persist.c | 1667 IPADM_OPT_ACTIVE) != IPADM_SUCCESS) { in ipmgmt_db_init() 1682 if (ipadm_open(&iph, IPH_INIT) != IPADM_SUCCESS) { in ipmgmt_init_prop()
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | ip_rcm.c | 264 if ((iph_status = ipadm_open(&ip_handle, 0)) != IPADM_SUCCESS) { in rcm_mod_init() 1257 if (status != IPADM_SUCCESS) { in update_ipifs() 2393 if (status != IPADM_SUCCESS) { in if_configure_ipadm() 2421 if (status != IPADM_SUCCESS) { in if_configure_ipadm()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/ |
H A D | main.c | 2543 if (ipadm_open(&iph, 0) != IPADM_SUCCESS) { in phyint_check_ipadm_intfid() 2550 if (status != IPADM_SUCCESS) { in phyint_check_ipadm_intfid()
|
H A D | tables.c | 2373 if ((status = ipadm_open(&iph, 0)) != IPADM_SUCCESS) { in prefix_update_ipadm_addrobj() 2389 if (status != IPADM_SUCCESS && status != IPADM_IPC_ERROR) { in prefix_update_ipadm_addrobj()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/vrrpd/ |
H A D | vrrpd.c | 804 if (ipadm_open(&vrrp_ipadm_handle, 0) != IPADM_SUCCESS) { in vrrpd_init() 1476 if (vrrpd_walk_addr_info(af) != IPADM_SUCCESS) in vrrpd_scan() 1574 if (ipstatus != IPADM_SUCCESS) { in vrrpd_walk_addr_info() 1578 return (IPADM_SUCCESS); in vrrpd_walk_addr_info()
|