Home
last modified time | relevance | path

Searched refs:DLADM_OPT_ACTIVE (Results 1 – 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/lib/libdladm/common/
H A Dlibdlsim.c191 if (!(flags & DLADM_OPT_ACTIVE)) in dladm_simnet_create()
217 flags &= (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST); in dladm_simnet_create()
291 if (!(flags & DLADM_OPT_ACTIVE)) in dladm_simnet_modify()
367 flags &= (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST); in dladm_simnet_delete()
375 if (flags & DLADM_OPT_ACTIVE) { in dladm_simnet_delete()
379 NULL, 0, DLADM_OPT_ACTIVE); in dladm_simnet_delete()
381 DLADM_OPT_ACTIVE); in dladm_simnet_delete()
418 if (flags & DLADM_OPT_ACTIVE) { in dladm_simnet_info()
461 DLADM_OPT_ACTIVE) == DLADM_STATUS_OK)) { in i_dladm_simnet_up()
H A Dlibdlib.c238 if (flags == DLADM_OPT_ACTIVE) in dladm_part_info()
263 if (dladm_phys_info(handle, linkid, &dpa, DLADM_OPT_ACTIVE) in dladm_ib_info()
468 DLADM_OPT_ACTIVE)) != DLADM_STATUS_OK) in dladm_part_create()
571 if ((flags & DLADM_OPT_ACTIVE) != 0) { in dladm_part_delete()
575 DLADM_OPT_ACTIVE); in dladm_part_delete()
577 DLADM_OPT_ACTIVE); in dladm_part_delete()
649 if (dladm_phys_info(handle, linkid, &dpa, DLADM_OPT_ACTIVE) in i_dladm_part_up()
670 pattr.dia_flags = DLADM_OPT_FORCE | DLADM_OPT_ACTIVE | in i_dladm_part_up()
H A Dlibdlmgmt.c122 !(flags & (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST)) || in dladm_create_datalink_id()
139 dlmgmt_flags = (flags & DLADM_OPT_ACTIVE) ? DLMGMT_ACTIVE : 0; in dladm_create_datalink_id()
169 dlmgmt_flags = (flags & DLADM_OPT_ACTIVE) ? DLMGMT_ACTIVE : 0; in dladm_destroy_datalink_id()
259 status = dladm_phys_info(handle, linkid, &dpa, DLADM_OPT_ACTIVE); in i_dladm_phys_status()
270 DLADM_OPT_ACTIVE)) != DLADM_STATUS_OK) in i_dladm_phys_status()
274 DLADM_OPT_ACTIVE); in i_dladm_phys_status()
301 dlmgmt_flags = (flags & DLADM_OPT_ACTIVE) ? DLMGMT_ACTIVE : 0; in dladm_walk_datalink_id()
582 DLADM_OPT_ACTIVE : 0; in dladm_name2info()
643 DLADM_OPT_ACTIVE : 0; in dladm_datalink_id2info()
H A Dlibdliptun.c348 (void) dladm_destroy_datalink_id(handle, linkid, DLADM_OPT_ACTIVE); in i_iptun_delete_sys()
440 if (flags & DLADM_OPT_ACTIVE) { in dladm_iptun_create()
469 if (flags & DLADM_OPT_ACTIVE) { in dladm_iptun_delete()
524 if (flags & DLADM_OPT_ACTIVE) { in dladm_iptun_modify()
538 if (flags == DLADM_OPT_ACTIVE) in dladm_iptun_getparams()
569 DLADM_OPT_ACTIVE); in i_iptun_up()
610 DLADM_OPT_ACTIVE); in dladm_iptun_down()
H A Dlibdllink.c400 if (flags & DLADM_OPT_ACTIVE) { in i_dladm_rename_link_c1()
412 if (status != DLADM_STATUS_OK && (flags & DLADM_OPT_ACTIVE)) { in i_dladm_rename_link_c1()
523 DLADM_OPT_ACTIVE); in i_dladm_rename_link_c2()
556 (void) dladm_destroy_datalink_id(handle, linkid1, DLADM_OPT_ACTIVE | in i_dladm_rename_link_c2()
654 !(flags1 & DLADM_OPT_ACTIVE)) { in dladm_rename_link()
770 (flags & DLADM_OPT_ACTIVE)) { in i_dladm_phys_delete()
818 assert(flags == DLADM_OPT_ACTIVE || flags == DLADM_OPT_PERSIST); in dladm_phys_info()
833 case DLADM_OPT_ACTIVE: { in dladm_phys_info()
942 DLADM_OPT_ACTIVE); in dladm_linkid2legacyname()
959 DLADM_OPT_ACTIVE); in dladm_linkid2legacyname()
H A Dlibdlaggr.c367 assert(flags == DLADM_OPT_ACTIVE || flags == DLADM_OPT_PERSIST); in dladm_aggr_info()
368 if (flags == DLADM_OPT_ACTIVE) in dladm_aggr_info()
543 if (!(flags & DLADM_OPT_ACTIVE)) in i_dladm_aggr_add_rmv()
714 if (s != DLADM_STATUS_OK || !(flags & DLADM_OPT_ACTIVE)) in i_dladm_aggr_up()
1142 flags &= (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST); in dladm_aggr_create()
1156 if (!(flags & DLADM_OPT_ACTIVE)) in dladm_aggr_create()
1326 if (!(flags & DLADM_OPT_ACTIVE)) in dladm_aggr_modify()
1385 if (flags & DLADM_OPT_ACTIVE) { in dladm_aggr_delete()
1397 DLADM_OPT_ACTIVE); in dladm_aggr_delete()
1399 DLADM_OPT_ACTIVE); in dladm_aggr_delete()
H A Dlibdlvnic.c297 if (flags == DLADM_OPT_ACTIVE) in dladm_vnic_info()
425 if ((flags & DLADM_OPT_ACTIVE) == 0) in dladm_vnic_create()
642 if ((flags & DLADM_OPT_ACTIVE) != 0) { in dladm_vnic_delete()
646 DLADM_OPT_ACTIVE); in dladm_vnic_delete()
648 DLADM_OPT_ACTIVE); in dladm_vnic_delete()
H A Dlibdlbridge.c892 flags & (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST), &linkid); in dladm_bridge_configure()
985 if ((flags & DLADM_OPT_ACTIVE) && !(flags & DLADM_OPT_CREATE)) in dladm_bridge_configure()
1187 if ((flags & DLADM_OPT_ACTIVE) && linkid == DATALINK_INVALID_LINKID) in dladm_bridge_delete()
1216 if (flags & DLADM_OPT_ACTIVE) { in dladm_bridge_delete()
1221 DLADM_OPT_ACTIVE); in dladm_bridge_delete()
1223 DLADM_OPT_ACTIVE); in dladm_bridge_delete()
H A Dsecobj.c142 if ((flags & DLADM_OPT_ACTIVE) == 0) in dladm_set_secobj()
219 if ((flags & DLADM_OPT_ACTIVE) == 0) in dladm_unset_secobj()
401 DLADM_OPT_ACTIVE | DLADM_OPT_CREATE); in process_secobj_init()
H A Dlibdladm.h86 #define DLADM_OPT_ACTIVE 0x00000001 macro
/illumos-gate/usr/src/cmd/dladm/
H A Ddladm.c1654 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_usage_date()
1686 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_usage_time()
1761 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_usage_res()
1866 ((flags & DLADM_OPT_ACTIVE) == 0))) { in do_show_usage()
1933 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_create_aggr()
2139 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_delete_aggr()
2181 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_add_aggr()
2227 flags & (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST))) != in do_add_aggr()
2282 flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_remove_aggr()
2357 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_modify_aggr()
[all …]
/illumos-gate/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c676 if (dladm_vnic_info(vh->vh_dh, vnicid, &vattr, DLADM_OPT_ACTIVE) != in vrrp_is_vrrp_vnic()
728 DLADM_STATUS_OK || !(flags & DLADM_OPT_ACTIVE)) { in vrrp_get_vnicname()
734 DLADM_OPT_ACTIVE) != DLADM_STATUS_OK) { in vrrp_get_vnicname()
747 DLADM_OPT_ACTIVE) != DLADM_STATUS_OK) { in vrrp_get_vnicname()
778 DATALINK_CLASS_VNIC, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in vrrp_get_vnicname()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Daggr_rcm.c506 DLADM_OPT_ACTIVE); in aggr_offline_port()
513 &port, DLADM_OPT_ACTIVE); in aggr_offline_port()
560 DLADM_OPT_ACTIVE); in aggr_online_port()
991 DLADM_OPT_ACTIVE); in aggr_update()
1059 DATALINK_CLASS_AGGR, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in aggr_update_all()
1402 if (flags & DLADM_OPT_ACTIVE) { in aggr_configure()
1408 DLADM_OPT_ACTIVE); in aggr_configure()
1423 } else if (!(flags & DLADM_OPT_ACTIVE)) { in aggr_configure()
H A Dvlan_rcm.c443 DLADM_OPT_ACTIVE)) != DLADM_STATUS_OK) { in vlan_offline_vlan()
861 status = dladm_vlan_info(handle, vlanid, &vlan_attr, DLADM_OPT_ACTIVE); in vlan_update()
954 DATALINK_CLASS_VLAN, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in vlan_update_all()
H A Dnetwork_rcm.c337 NULL, 0, DLADM_OPT_ACTIVE); in net_passthru()
339 DLADM_OPT_ACTIVE); in net_passthru()
H A Dibpart_rcm.c451 ibpart->dlib_ibpart_id, DLADM_OPT_ACTIVE)) != in ibpart_offline_ibpart()
878 DLADM_OPT_ACTIVE); in ibpart_update()
982 DATALINK_CLASS_PART, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in ibpart_update_all()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Devents.c76 DLADM_OPT_ACTIVE); in linkdown()
148 status = dladm_vlan_info(handle, linkid, &vinfo, DLADM_OPT_ACTIVE); in set_vlan()
402 DATALINK_CLASS_ALL, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in handle_refresh()
405 DATALINK_CLASS_VLAN, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in handle_refresh()
/illumos-gate/usr/src/cmd/dlstat/
H A Ddlstat.c556 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_history_date()
588 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_history_time()
663 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_history_res()
764 ((flags & DLADM_OPT_ACTIVE) == 0))) { in do_show_history()
1532 DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in show_link_stats()
1609 DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in dump_all_link_stats()
1627 uint32_t flags = DLADM_OPT_ACTIVE; in do_show()
1828 uint32_t flags = DLADM_OPT_ACTIVE; in do_show_phys()
2008 uint32_t flags = DLADM_OPT_ACTIVE; in do_show_link()
2217 uint32_t flags = DLADM_OPT_ACTIVE; in do_show_aggr()
/illumos-gate/usr/src/cmd/ibd_upgrade/
H A Dibd_delete_link.c114 DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST)) != DLADM_STATUS_OK) { in ibd_delete_link()
/illumos-gate/usr/src/cmd/flowadm/
H A Dflowadm.c663 DLADM_OPT_ACTIVE); in do_show_flow()
746 DLADM_OPT_ACTIVE, &errprop); in set_flowprop()
781 DLADM_OPT_ACTIVE, NULL); in set_flowprop()
1207 DLADM_OPT_ACTIVE); in do_show_flowprop()
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dncu_phys.c150 "mtu", &cp, 1, DLADM_OPT_ACTIVE); in nwamd_set_unset_link_properties()
160 "autopush", autopush, num_autopush, DLADM_OPT_ACTIVE); in nwamd_set_unset_link_properties()
504 DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST); in nwamd_wlan_set_key()
521 DLADM_OPT_CREATE | DLADM_OPT_PERSIST | DLADM_OPT_ACTIVE); in nwamd_wlan_set_key()
603 DLADM_OPT_ACTIVE); in nwamd_wlan_get_key_named()
H A Dncu.c1511 if (dladm_aggr_info(dld_handle, linkid, &ginfo, DLADM_OPT_ACTIVE) in ncu_aggr_search()
1535 DATALINK_CLASS_AGGR, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in nwamd_link_belongs_to_an_aggr()
1599 == DLADM_STATUS_OK && (flags & DLADM_OPT_ACTIVE)) && in nwamd_destroy_ncu()
1654 dlclass, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in nwamd_walk_physical_configuration()
1768 != DLADM_STATUS_OK || !(flags & DLADM_OPT_ACTIVE)) { in nwamd_ncu_handle_init_event()
H A Dconditions.c668 DL_WIFI, DLADM_OPT_ACTIVE); in test_condition_wireless_essid()
686 DL_WIFI, DLADM_OPT_ACTIVE); in test_condition_wireless_bssid()
/illumos-gate/usr/src/cmd/dlutil/
H A Ddlled.c262 DLADM_OPT_ACTIVE); in main()
/illumos-gate/usr/src/cmd/zoneadmd/
H A Dvplat.c2513 DLADM_OPT_ACTIVE); in add_datalink()
2541 &poolp, 1, DLADM_OPT_ACTIVE); in add_datalink()
2732 dlstatus = dladm_linkprop_is_set(dld_handle, linkid, DLADM_OPT_ACTIVE, in add_net_for_linkid()
2744 dlstatus = dladm_linkprop_is_set(dld_handle, linkid, DLADM_OPT_ACTIVE, in add_net_for_linkid()
2762 &ip_nospoof, 1, DLADM_OPT_ACTIVE); in add_net_for_linkid()
2769 astr, naddr, DLADM_OPT_ACTIVE); in add_net_for_linkid()
3122 NULL, 0, DLADM_OPT_ACTIVE); in remove_datalink_pool()
3170 "protection", NULL, 0, DLADM_OPT_ACTIVE); in remove_datalink_protect()
3182 "allowed-ips", NULL, 0, DLADM_OPT_ACTIVE); in remove_datalink_protect()
3241 prop_vals, 1, DLADM_OPT_ACTIVE); in unconfigure_exclusive_network_interfaces()
[all …]

12