Home
last modified time | relevance | path

Searched refs:DLADM_OPT_PERSIST (Results 1 – 25 of 27) sorted by relevance

12

/titanic_44/usr/src/lib/libdladm/common/
H A Dlibdllink.c491 arg.flags = DLADM_OPT_PERSIST; in i_dladm_rename_link_c2()
493 DATALINK_CLASS_AGGR, DATALINK_ANY_MEDIATYPE, DLADM_OPT_PERSIST); in i_dladm_rename_link_c2()
497 arg.flags = DLADM_OPT_PERSIST; in i_dladm_rename_link_c2()
499 DATALINK_CLASS_VLAN, DATALINK_ANY_MEDIATYPE, DLADM_OPT_PERSIST); in i_dladm_rename_link_c2()
558 DLADM_OPT_PERSIST); in i_dladm_rename_link_c2()
633 (flags2 == DLADM_OPT_PERSIST)) { in dladm_rename_link()
683 status = dladm_vlan_info(handle, vlanid, &vinfo, DLADM_OPT_PERSIST); in i_dladm_vlan_link_del()
688 (void) dladm_vlan_delete(handle, vlanid, DLADM_OPT_PERSIST); in i_dladm_vlan_link_del()
699 status = dladm_part_info(handle, partid, &pinfo, DLADM_OPT_PERSIST); in i_dladm_part_link_del()
704 (void) dladm_part_delete(handle, partid, DLADM_OPT_PERSIST); in i_dladm_part_link_del()
[all …]
H A Dlibdlsim.c190 flags &= (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST); in dladm_simnet_create()
203 if (!(flags & DLADM_OPT_PERSIST)) in dladm_simnet_create()
295 if ((status != DLADM_STATUS_OK) || !(flags & DLADM_OPT_PERSIST)) in dladm_simnet_modify()
341 flags &= (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST); in dladm_simnet_delete()
361 if (flags & DLADM_OPT_PERSIST) { in dladm_simnet_delete()
364 DLADM_OPT_PERSIST); in dladm_simnet_delete()
399 (flags & DLADM_OPT_PERSIST)) in dladm_simnet_info()
402 } else if (flags & DLADM_OPT_PERSIST) { in dladm_simnet_info()
421 DLADM_OPT_PERSIST); in i_dladm_simnet_up()
444 DLADM_OPT_PERSIST); in i_dladm_simnet_up()
[all …]
H A Dlibdliptun.c432 if (flags & DLADM_OPT_PERSIST) { in dladm_iptun_create()
440 if (status != DLADM_STATUS_OK && (flags & DLADM_OPT_PERSIST)) { in dladm_iptun_create()
478 !(flags & DLADM_OPT_PERSIST))) in dladm_iptun_delete()
482 if (flags & DLADM_OPT_PERSIST) { in dladm_iptun_delete()
485 DLADM_OPT_PERSIST); in dladm_iptun_delete()
505 if (flags & DLADM_OPT_PERSIST) { in dladm_iptun_modify()
524 if (status != DLADM_STATUS_OK && (flags & DLADM_OPT_PERSIST)) { in dladm_iptun_modify()
538 else if (flags == DLADM_OPT_PERSIST) in dladm_iptun_getparams()
593 DLADM_OPT_PERSIST); in dladm_iptun_up()
H A Dlibdlib.c237 else if (flags == DLADM_OPT_PERSIST) in dladm_part_info()
492 if (pattr.dia_flags & DLADM_OPT_PERSIST) { in dladm_part_create()
577 !(flags & DLADM_OPT_PERSIST)) { in dladm_part_delete()
582 if ((flags & DLADM_OPT_PERSIST) != 0) { in dladm_part_delete()
597 DLADM_OPT_PERSIST); in dladm_part_delete()
669 DLADM_OPT_PERSIST; in i_dladm_part_up()
703 DLADM_OPT_PERSIST); in dladm_part_up()
H A Dlibdlaggr.c367 assert(flags == DLADM_OPT_ACTIVE || flags == DLADM_OPT_PERSIST); in dladm_aggr_info()
414 if (flags & DLADM_OPT_PERSIST) { in i_dladm_aggr_add_rmv()
574 if ((status != DLADM_STATUS_OK) && (flags & DLADM_OPT_PERSIST)) { in i_dladm_aggr_add_rmv()
687 status = dladm_aggr_info(handle, linkid, &attr, DLADM_OPT_PERSIST); in i_dladm_aggr_up()
765 DLADM_OPT_PERSIST); in dladm_aggr_up()
1142 flags &= (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST); in dladm_aggr_create()
1149 if ((flags & DLADM_OPT_PERSIST) && in dladm_aggr_create()
1163 if (flags & DLADM_OPT_PERSIST) in dladm_aggr_create()
1303 if (flags & DLADM_OPT_PERSIST) { in dladm_aggr_modify()
1331 if ((status != DLADM_STATUS_OK) && (flags & DLADM_OPT_PERSIST)) { in dladm_aggr_modify()
[all …]
H A Dlibdlvnic.c295 else if (flags == DLADM_OPT_PERSIST) in dladm_vnic_info()
542 if (!(flags & DLADM_OPT_PERSIST)) in dladm_vnic_create()
556 DLADM_OPT_PERSIST); in dladm_vnic_create()
619 !(flags & DLADM_OPT_PERSIST)) { in dladm_vnic_delete()
623 if ((flags & DLADM_OPT_PERSIST) != 0) { in dladm_vnic_delete()
626 DLADM_OPT_PERSIST); in dladm_vnic_delete()
771 status = dladm_vnic_info(handle, linkid, &attr, DLADM_OPT_PERSIST); in i_dladm_vnic_up()
809 DLADM_OPT_PERSIST); in dladm_vnic_up()
H A Dlibdlmgmt.c120 !(flags & (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST)) || in dladm_create_datalink_id()
126 dlmgmt_flags |= (flags & DLADM_OPT_PERSIST) ? DLMGMT_PERSIST : 0; in dladm_create_datalink_id()
155 dlmgmt_flags |= ((flags & DLADM_OPT_PERSIST) ? DLMGMT_PERSIST : 0); in dladm_destroy_datalink_id()
287 dlmgmt_flags |= ((flags & DLADM_OPT_PERSIST) ? DLMGMT_PERSIST : 0); in dladm_walk_datalink_id()
568 DLADM_OPT_PERSIST : 0; in dladm_name2info()
627 DLADM_OPT_PERSIST : 0; in dladm_datalink_id2info()
H A Dlibdlbridge.c700 flags & DLADM_OPT_PERSIST ? 0 : SMF_TEMPORARY) == 0) { in shut_down_instance()
732 if (status == DLADM_STATUS_OK && (flags & DLADM_OPT_PERSIST) && in shut_down_instance()
892 flags & (DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST), &linkid); in dladm_bridge_configure()
896 if ((flags & DLADM_OPT_PERSIST) && in dladm_bridge_configure()
1190 if (flags & DLADM_OPT_PERSIST) { in dladm_bridge_delete()
1203 DATALINK_ANY_MEDIATYPE, DLADM_OPT_PERSIST); in dladm_bridge_delete()
1226 if (flags & DLADM_OPT_PERSIST) { in dladm_bridge_delete()
1229 DLADM_OPT_PERSIST); in dladm_bridge_delete()
H A Dsecobj.c164 if ((flags & DLADM_OPT_PERSIST) != 0) { in dladm_set_secobj()
185 if ((flags & DLADM_OPT_PERSIST) != 0) { in dladm_get_secobj()
232 if ((flags & DLADM_OPT_PERSIST) != 0) in dladm_unset_secobj()
247 if ((flags & DLADM_OPT_PERSIST) != 0) in dladm_walk_secobj()
H A Dlibdladm.h76 #define DLADM_OPT_PERSIST 0x00000002 macro
H A Dflowprop.c103 (flags & DLADM_OPT_PERSIST) != 0) in dladm_set_flowprop()
108 if ((flags & DLADM_OPT_PERSIST) != 0) { in dladm_set_flowprop()
H A Dpropfuncs.c587 if (pdp->pd_temponly && (flags & DLADM_OPT_PERSIST) != 0) in i_dladm_set_one_prop_temp()
H A Dlibdlflow.c672 DLADM_OPT_PERSIST, NULL); in dladm_flow_remove()
H A Dlinkprop.c942 if ((flags & DLADM_OPT_PERSIST) && (pdp->pd_flags & PD_TEMPONLY)) in i_dladm_set_single_prop()
1001 status = (flags & DLADM_OPT_PERSIST) ? DLADM_STATUS_OK : in i_dladm_set_single_prop()
1106 if ((flags & DLADM_OPT_PERSIST) && (link_flags & DLMGMT_PERSIST)) { in dladm_set_linkprop()
1518 NULL, DATALINK_CLASS_ALL, dmedia, DLADM_OPT_PERSIST); in dladm_init_linkprop()
/titanic_44/usr/src/cmd/dladm/
H A Ddladm.c1798 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_create_aggr()
1869 flags &= ~DLADM_OPT_PERSIST; in do_create_aggr()
2004 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_delete_aggr()
2012 flags &= ~DLADM_OPT_PERSIST; in do_delete_aggr()
2046 uint32_t flags = DLADM_OPT_ACTIVE | DLADM_OPT_PERSIST; in do_add_aggr()
2070 flags &= ~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()
2165 flags &= ~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/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/cmd-inet/lib/nwamd/
H A Dncu_phys.c504 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()
610 DLADM_OPT_PERSIST); in nwamd_wlan_get_key_named()
H A Dknown_wlans.c402 find_secobj_matching_prefix, DLADM_OPT_PERSIST); in upgrade_known_wifi_nets_config()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/bridged/
H A Drstp.c341 1, DLADM_OPT_ACTIVE|DLADM_OPT_PERSIST|DLADM_OPT_NOREFRESH); in get_init_port_cfg()
/titanic_44/usr/src/cmd/rcm_daemon/common/
H A Dvlan_rcm.c1271 status = dladm_vlan_info(handle, vlanid, &vlan_attr, DLADM_OPT_PERSIST); in vlan_up()
1325 DATALINK_CLASS_VLAN, DATALINK_ANY_MEDIATYPE, DLADM_OPT_PERSIST); in vlan_configure()
H A Dibpart_rcm.c1306 DLADM_OPT_PERSIST); in ibpart_up()
1360 DATALINK_CLASS_PART, DATALINK_ANY_MEDIATYPE, DLADM_OPT_PERSIST); in ibpart_configure()
H A Dvnic_rcm.c1282 status = dladm_vnic_info(handle, vnicid, &vnic_attr, DLADM_OPT_PERSIST); in vnic_up()
1336 DATALINK_CLASS_VNIC, DATALINK_ANY_MEDIATYPE, DLADM_OPT_PERSIST); in vnic_configure()
H A Daggr_rcm.c1381 status = dladm_aggr_info(handle, aggrid, &aggr_attr, DLADM_OPT_PERSIST); in aggr_configure()
1461 DATALINK_CLASS_AGGR, DATALINK_ANY_MEDIATYPE, DLADM_OPT_PERSIST); in aggr_configure_all()
/titanic_44/usr/src/lib/libipadm/common/
H A Dipadm_ngz.c483 DLADM_OPT_PERSIST); in ipadm_init_net_from_gz()
/titanic_44/usr/src/cmd/flowadm/
H A Dflowadm.c673 DLADM_OPT_PERSIST, &errprop); in set_flowprop_persist()

12