Home
last modified time | relevance | path

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

12

/titanic_44/usr/src/lib/libdladm/common/
H A Dlibdlsim.c187 if (!(flags & DLADM_OPT_ACTIVE)) in dladm_simnet_create()
190 flags &= (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST); in dladm_simnet_create()
265 if (!(flags & DLADM_OPT_ACTIVE)) in dladm_simnet_modify()
341 flags &= (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST); in dladm_simnet_delete()
349 if (flags & DLADM_OPT_ACTIVE) { in dladm_simnet_delete()
353 NULL, 0, DLADM_OPT_ACTIVE); in dladm_simnet_delete()
355 DLADM_OPT_ACTIVE); in dladm_simnet_delete()
392 if (flags & DLADM_OPT_ACTIVE) { in dladm_simnet_info()
435 DLADM_OPT_ACTIVE) == DLADM_STATUS_OK)) { in i_dladm_simnet_up()
H A Dlibdlmgmt.c120 !(flags & (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST)) || in dladm_create_datalink_id()
125 dlmgmt_flags = (flags & DLADM_OPT_ACTIVE) ? DLMGMT_ACTIVE : 0; in dladm_create_datalink_id()
154 dlmgmt_flags = (flags & DLADM_OPT_ACTIVE) ? DLMGMT_ACTIVE : 0; in dladm_destroy_datalink_id()
244 status = dladm_phys_info(handle, linkid, &dpa, DLADM_OPT_ACTIVE); in i_dladm_phys_status()
255 DLADM_OPT_ACTIVE)) != DLADM_STATUS_OK) in i_dladm_phys_status()
259 DLADM_OPT_ACTIVE); in i_dladm_phys_status()
286 dlmgmt_flags = (flags & DLADM_OPT_ACTIVE) ? DLMGMT_ACTIVE : 0; in dladm_walk_datalink_id()
566 *flagp = retval.lr_flags & DLMGMT_ACTIVE ? DLADM_OPT_ACTIVE : 0; in dladm_name2info()
625 DLADM_OPT_ACTIVE : 0; in dladm_datalink_id2info()
H A Dlibdlib.c235 if (flags == DLADM_OPT_ACTIVE) in dladm_part_info()
261 if (dladm_phys_info(handle, linkid, &dpa, DLADM_OPT_ACTIVE) in dladm_ib_info()
466 DLADM_OPT_ACTIVE)) != DLADM_STATUS_OK) in dladm_part_create()
569 if ((flags & DLADM_OPT_ACTIVE) != 0) { in dladm_part_delete()
573 DLADM_OPT_ACTIVE); in dladm_part_delete()
575 DLADM_OPT_ACTIVE); in dladm_part_delete()
647 if (dladm_phys_info(handle, linkid, &dpa, DLADM_OPT_ACTIVE) in i_dladm_part_up()
668 pattr.dia_flags = DLADM_OPT_FORCE | DLADM_OPT_ACTIVE | in i_dladm_part_up()
H A Dlibdliptun.c346 (void) dladm_destroy_datalink_id(handle, linkid, DLADM_OPT_ACTIVE); in i_iptun_delete_sys()
438 if (flags & DLADM_OPT_ACTIVE) { in dladm_iptun_create()
467 if (flags & DLADM_OPT_ACTIVE) { in dladm_iptun_delete()
522 if (flags & DLADM_OPT_ACTIVE) { in dladm_iptun_modify()
536 if (flags == DLADM_OPT_ACTIVE) in dladm_iptun_getparams()
567 DLADM_OPT_ACTIVE); in i_iptun_up()
608 DLADM_OPT_ACTIVE); in dladm_iptun_down()
H A Dlibdllink.c401 if (flags & DLADM_OPT_ACTIVE) { in i_dladm_rename_link_c1()
413 if (status != DLADM_STATUS_OK && (flags & DLADM_OPT_ACTIVE)) { in i_dladm_rename_link_c1()
524 DLADM_OPT_ACTIVE); in i_dladm_rename_link_c2()
557 (void) dladm_destroy_datalink_id(handle, linkid1, DLADM_OPT_ACTIVE | in i_dladm_rename_link_c2()
655 !(flags1 & DLADM_OPT_ACTIVE)) { in dladm_rename_link()
771 (flags & DLADM_OPT_ACTIVE)) { in i_dladm_phys_delete()
819 assert(flags == DLADM_OPT_ACTIVE || flags == DLADM_OPT_PERSIST); in dladm_phys_info()
834 case DLADM_OPT_ACTIVE: { in dladm_phys_info()
943 DLADM_OPT_ACTIVE); in dladm_linkid2legacyname()
960 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.c293 if (flags == DLADM_OPT_ACTIVE) in dladm_vnic_info()
420 if ((flags & DLADM_OPT_ACTIVE) == 0) in dladm_vnic_create()
611 if ((flags & DLADM_OPT_ACTIVE) != 0) { in dladm_vnic_delete()
615 DLADM_OPT_ACTIVE); in dladm_vnic_delete()
617 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()
405 DLADM_OPT_ACTIVE | DLADM_OPT_CREATE); in process_secobj_init()
H A Dlibdladm.h75 #define DLADM_OPT_ACTIVE 0x00000001 macro
/titanic_44/usr/src/cmd/dladm/
H A Ddladm.c1519 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_usage_date()
1551 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_usage_time()
1626 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_usage_res()
1731 ((flags & DLADM_OPT_ACTIVE) == 0))) { in do_show_usage()
1798 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_create_aggr()
2004 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_delete_aggr()
2046 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_add_aggr()
2092 flags & (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST))) != in do_add_aggr()
2147 flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_remove_aggr()
2222 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_modify_aggr()
[all …]
/titanic_44/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()
/titanic_44/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 Dnetwork_rcm.c337 NULL, 0, DLADM_OPT_ACTIVE); in net_passthru()
339 DLADM_OPT_ACTIVE); in net_passthru()
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 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()
H A Dvnic_rcm.c445 DLADM_OPT_ACTIVE)) != DLADM_STATUS_OK) { in vnic_offline_vnic()
864 status = dladm_vnic_info(handle, vnicid, &vnic_attr, DLADM_OPT_ACTIVE); in vnic_update()
966 DATALINK_CLASS_VNIC, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in vnic_update_all()
/titanic_44/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()
/titanic_44/usr/src/cmd/dlstat/
H A Ddlstat.c550 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_history_date()
582 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_history_time()
657 if ((flags & DLADM_OPT_ACTIVE) == 0) in show_history_res()
758 ((flags & DLADM_OPT_ACTIVE) == 0))) { in do_show_history()
1526 DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in show_link_stats()
1603 DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in dump_all_link_stats()
1621 uint32_t flags = DLADM_OPT_ACTIVE; in do_show()
1822 uint32_t flags = DLADM_OPT_ACTIVE; in do_show_phys()
2002 uint32_t flags = DLADM_OPT_ACTIVE; in do_show_link()
2211 uint32_t flags = DLADM_OPT_ACTIVE; in do_show_aggr()
/titanic_44/usr/src/cmd/ibd_upgrade/
H A Dibd_delete_link.c114 DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST)) != DLADM_STATUS_OK) { in ibd_delete_link()
/titanic_44/usr/src/cmd/flowadm/
H A Dflowadm.c660 DLADM_OPT_ACTIVE); in do_show_flow()
743 DLADM_OPT_ACTIVE, &errprop); in set_flowprop()
778 DLADM_OPT_ACTIVE, NULL); in set_flowprop()
1204 DLADM_OPT_ACTIVE); in do_show_flowprop()
/titanic_44/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.c1449 if (dladm_aggr_info(dld_handle, linkid, &ginfo, DLADM_OPT_ACTIVE) in ncu_aggr_search()
1473 DATALINK_CLASS_AGGR, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in nwamd_link_belongs_to_an_aggr()
1537 == DLADM_STATUS_OK && (flags & DLADM_OPT_ACTIVE)) && in nwamd_destroy_ncu()
1592 dlclass, DATALINK_ANY_MEDIATYPE, DLADM_OPT_ACTIVE); in nwamd_walk_physical_configuration()
1706 != 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()
/titanic_44/usr/src/cmd/dlutil/
H A Ddlled.c262 DLADM_OPT_ACTIVE); in main()

12