/illumos-gate/usr/src/lib/libdladm/common/ |
H A D | libdllink.h | 117 extern dladm_status_t dladm_walk(dladm_walkcb_t *, dladm_handle_t, void *, 119 extern dladm_status_t dladm_mac_walk(dladm_walkcb_t *, void *); 120 extern dladm_status_t dladm_info(dladm_handle_t, datalink_id_t, 123 extern dladm_status_t dladm_rename_link(dladm_handle_t, const char *, 126 extern dladm_status_t dladm_set_linkprop(dladm_handle_t, datalink_id_t, 128 extern dladm_status_t dladm_get_linkprop(dladm_handle_t, datalink_id_t, 130 extern dladm_status_t dladm_get_linkprop_values(dladm_handle_t, datalink_id_t, 133 extern dladm_status_t dladm_walk_linkprop(dladm_handle_t, datalink_id_t, 137 extern dladm_status_t dladm_linkprop_is_set(dladm_handle_t, datalink_id_t, 140 extern dladm_status_t dladm_set_secobj(dladm_handle_t, const char *, [all …]
|
H A D | libdladm.h | 192 } dladm_status_t; typedef 218 extern dladm_status_t dladm_open(dladm_handle_t *); 269 extern const char *dladm_status2str(dladm_status_t, char *); 270 extern dladm_status_t dladm_set_rootdir(const char *); 276 extern dladm_status_t dladm_str2bw(char *, uint64_t *); 278 extern dladm_status_t dladm_str2pri(char *, mac_priority_level_t *); 280 extern dladm_status_t dladm_str2protect(char *, uint32_t *); 282 extern dladm_status_t dladm_str2ipv4addr(char *, void *); 284 extern dladm_status_t dladm_str2ipv6addr(char *, void *); 287 extern dladm_status_t dladm_parse_flow_props(char *, dladm_arg_list_t **, [all …]
|
H A D | libdlflow_impl.h | 41 typedef dladm_status_t fpd_getf_t(dladm_handle_t, const char *, char **, 43 typedef dladm_status_t fpd_setf_t(dladm_handle_t, const char *, val_desc_t *, 45 typedef dladm_status_t fpd_checkf_t(struct fprop_desc *, char **, uint_t, 72 typedef dladm_status_t fad_checkf_t(char *, flow_desc_t *); 74 extern dladm_status_t do_check_ip_addr(char *, boolean_t, flow_desc_t *); 75 extern dladm_status_t do_check_dsfield(char *, flow_desc_t *); 82 extern dladm_status_t i_dladm_get_prop_temp(dladm_handle_t, const char *, 85 extern dladm_status_t i_dladm_set_prop_temp(dladm_handle_t, const char *, 107 char *, prop_db_info_t *, dladm_status_t *); 109 typedef dladm_status_t (*prop_db_initop_t)(dladm_handle_t, const char *, [all …]
|
H A D | libdlwlan.h | 184 extern dladm_status_t dladm_wlan_scan(dladm_handle_t, datalink_id_t, void *, 186 extern dladm_status_t dladm_wlan_connect(dladm_handle_t, datalink_id_t, 188 extern dladm_status_t dladm_wlan_disconnect(dladm_handle_t, datalink_id_t); 189 extern dladm_status_t dladm_wlan_get_linkattr(dladm_handle_t, datalink_id_t, 192 extern dladm_status_t dladm_wlan_wpa_get_sr(dladm_handle_t, datalink_id_t, 194 extern dladm_status_t dladm_wlan_wpa_set_ie(dladm_handle_t, datalink_id_t, 196 extern dladm_status_t dladm_wlan_wpa_set_wpa(dladm_handle_t, datalink_id_t, 198 extern dladm_status_t dladm_wlan_wpa_del_key(dladm_handle_t, datalink_id_t, 200 extern dladm_status_t dladm_wlan_wpa_set_key(dladm_handle_t, datalink_id_t, 203 extern dladm_status_t dladm_wlan_wpa_set_mlme(dladm_handle_t, datalink_id_t, [all …]
|
H A D | libdlbridge.h | 51 extern dladm_status_t dladm_bridge_str2prot(const char *, 56 extern dladm_status_t dladm_bridge_get_properties(const char *, 58 extern dladm_status_t dladm_bridge_run_properties(const char *, 62 extern dladm_status_t dladm_bridge_configure(dladm_handle_t, const char *, 66 extern dladm_status_t dladm_bridge_enable(const char *); 68 extern dladm_status_t dladm_bridge_delete(dladm_handle_t, const char *, 72 extern dladm_status_t dladm_bridge_state(const char *, UID_STP_STATE_T *); 77 extern dladm_status_t dladm_bridge_setlink(dladm_handle_t, datalink_id_t, 79 extern dladm_status_t dladm_bridge_getlink(dladm_handle_t, datalink_id_t, 83 extern dladm_status_t dladm_bridge_link_state(dladm_handle_t, datalink_id_t, [all …]
|
H A D | libdlflow.h | 55 extern dladm_status_t dladm_flow_add(dladm_handle_t, datalink_id_t, 58 extern dladm_status_t dladm_flow_remove(dladm_handle_t, char *, boolean_t, 60 extern dladm_status_t dladm_flow_init(dladm_handle_t); 62 extern dladm_status_t dladm_flow_parse_db(char *, dld_flowinfo_t *); 63 extern dladm_status_t dladm_walk_flow(int (*)(dladm_handle_t, 66 extern dladm_status_t dladm_flow_info(dladm_handle_t, const char *, 69 extern dladm_status_t dladm_set_flowprop(dladm_handle_t, const char *, 71 extern dladm_status_t dladm_get_flowprop(dladm_handle_t, const char *, 73 extern dladm_status_t dladm_walk_flowprop(int (*)(void *, const char *), 77 extern dladm_status_t dladm_flow_attr_check(dladm_arg_list_t *); [all …]
|
H A D | libdloverlay.h | 57 extern dladm_status_t dladm_overlay_create(dladm_handle_t, const char *, 60 extern dladm_status_t dladm_overlay_delete(dladm_handle_t, datalink_id_t, 62 extern dladm_status_t dladm_overlay_up(dladm_handle_t, datalink_id_t, 67 extern dladm_status_t dladm_overlay_status(dladm_handle_t, datalink_id_t, 70 extern dladm_status_t dladm_overlay_cache_flush(dladm_handle_t, datalink_id_t); 71 extern dladm_status_t dladm_overlay_cache_delete(dladm_handle_t, datalink_id_t, 73 extern dladm_status_t dladm_overlay_cache_set(dladm_handle_t, datalink_id_t, 75 extern dladm_status_t dladm_overlay_cache_get(dladm_handle_t, datalink_id_t, 83 extern dladm_status_t dladm_overlay_prop_info(dladm_overlay_propinfo_handle_t, 86 extern dladm_status_t dladm_overlay_get_prop(dladm_handle_t, datalink_id_t, [all …]
|
H A D | libdliptun.c | 63 dladm_status_t 66 dladm_status_t status = DLADM_STATUS_OK; in i_iptun_ioctl() 84 static dladm_status_t 88 dladm_status_t status; in i_iptun_kparams() 170 static dladm_status_t 222 dladm_status_t 225 dladm_status_t status = DLADM_STATUS_OK; in i_iptun_get_sysparams() 241 static dladm_status_t 244 dladm_status_t status; in i_iptun_get_dbparams() 284 static dladm_status_t [all …]
|
H A D | flowprop.c | 50 static dladm_status_t i_dladm_set_flowprop_db(dladm_handle_t, const char *, 52 static dladm_status_t i_dladm_get_flowprop_db(dladm_handle_t, const char *, 86 static dladm_status_t flow_proplist_check(dladm_arg_list_t *); 88 dladm_status_t 93 dladm_status_t status = DLADM_STATUS_BADARG; in dladm_set_flowprop() 118 dladm_status_t 135 dladm_status_t 139 dladm_status_t status; in dladm_get_flowprop() 165 static dladm_status_t 181 static dladm_status_t [all …]
|
H A D | libdlwlan.c | 46 static dladm_status_t wpa_instance_create(dladm_handle_t, datalink_id_t, 48 static dladm_status_t wpa_instance_delete(dladm_handle_t, datalink_id_t); 50 static dladm_status_t do_get_bsstype(dladm_handle_t, datalink_id_t, void *, 52 static dladm_status_t do_get_essid(dladm_handle_t, datalink_id_t, void *, 54 static dladm_status_t do_get_bssid(dladm_handle_t, datalink_id_t, void *, 56 static dladm_status_t do_get_signal(dladm_handle_t, datalink_id_t, void *, 58 static dladm_status_t do_get_encryption(dladm_handle_t, datalink_id_t, void *, 60 static dladm_status_t do_get_authmode(dladm_handle_t, datalink_id_t, void *, 62 static dladm_status_t do_get_linkstatus(dladm_handle_t, datalink_id_t, void *, 64 static dladm_status_t do_get_esslist(dladm_handle_t, datalink_id_t, void *, [all …]
|
H A D | libdladm_impl.h | 60 extern dladm_status_t dladm_door_fd(dladm_handle_t, int *); 62 extern dladm_status_t dladm_errno2status(int); 63 extern dladm_status_t i_dladm_rw_db(dladm_handle_t, const char *, mode_t, 64 dladm_status_t (*)(dladm_handle_t, void *, FILE *, 66 extern dladm_status_t dladm_get_state(dladm_handle_t, datalink_id_t, 69 extern dladm_status_t dladm_parse_args(char *, dladm_arg_list_t **, 150 extern dladm_status_t dladm_link_proplist_extract(dladm_handle_t, 154 extern dladm_status_t dladm_flow_proplist_extract(dladm_arg_list_t *, 163 typedef dladm_status_t rp_extractf_t(val_desc_t *, uint_t, void *); 189 extern dladm_status_t dladm_errlist_append(dladm_errlist_t *,
|
H A D | libdliptun.h | 56 extern dladm_status_t dladm_iptun_create(dladm_handle_t, const char *, 58 extern dladm_status_t dladm_iptun_delete(dladm_handle_t, datalink_id_t, 60 extern dladm_status_t dladm_iptun_modify(dladm_handle_t, 62 extern dladm_status_t dladm_iptun_getparams(dladm_handle_t, iptun_params_t *, 64 extern dladm_status_t dladm_iptun_up(dladm_handle_t, datalink_id_t); 65 extern dladm_status_t dladm_iptun_down(dladm_handle_t, datalink_id_t); 66 extern dladm_status_t dladm_iptun_set6to4relay(dladm_handle_t, 68 extern dladm_status_t dladm_iptun_get6to4relay(dladm_handle_t,
|
H A D | libdlsim.c | 42 static dladm_status_t dladm_simnet_persist_conf(dladm_handle_t, const char *, 46 static dladm_status_t 50 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_create_simnet() 74 static dladm_status_t 78 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_modify_simnet() 93 static dladm_status_t 97 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_delete_simnet() 111 static dladm_status_t 115 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_get_simnet_info() 135 static dladm_status_t [all …]
|
H A D | libdlib.c | 54 dladm_status_t dladm_part_create(dladm_handle_t, datalink_id_t, ib_pkey_t, 56 static dladm_status_t i_dladm_part_create(dladm_handle_t, 58 static dladm_status_t dladm_part_persist_conf(dladm_handle_t, const char *, 60 static dladm_status_t i_dladm_part_delete(dladm_handle_t, datalink_id_t); 61 dladm_status_t dladm_part_delete(dladm_handle_t, datalink_id_t, int); 63 dladm_status_t dladm_part_up(dladm_handle_t, datalink_id_t, uint32_t); 69 static dladm_status_t 94 static dladm_status_t 110 static dladm_status_t 115 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_part_info_active() [all …]
|
H A D | linkprop.c | 86 typedef dladm_status_t pd_getf_t(dladm_handle_t, prop_desc_t *pdp, 101 typedef dladm_status_t pd_setf_t(dladm_handle_t, prop_desc_t *, datalink_id_t, 119 typedef dladm_status_t pd_checkf_t(dladm_handle_t, prop_desc_t *pdp, 131 dladm_status_t dla_status; 136 const char *, uint_t, dladm_status_t *); 138 mac_prop_id_t, uint_t, dladm_status_t *); 139 static dladm_status_t i_dladm_get_public_prop(dladm_handle_t, datalink_id_t, 142 static dladm_status_t i_dladm_set_private_prop(dladm_handle_t, datalink_id_t, 144 static dladm_status_t i_dladm_get_priv_prop(dladm_handle_t, datalink_id_t, 147 static dladm_status_t i_dladm_macprop(dladm_handle_t, void *, boolean_t); [all …]
|
H A D | secobj.c | 39 static dladm_status_t i_dladm_set_secobj_db(dladm_handle_t, const char *, 41 static dladm_status_t i_dladm_get_secobj_db(dladm_handle_t, const char *, 43 static dladm_status_t i_dladm_unset_secobj_db(dladm_handle_t, const char *); 44 static dladm_status_t i_dladm_walk_secobj_db(dladm_handle_t, void *, 68 dladm_status_t 126 dladm_status_t 130 dladm_status_t status = DLADM_STATUS_OK; in dladm_set_secobj() 171 dladm_status_t 176 dladm_status_t status = DLADM_STATUS_OK; in dladm_get_secobj() 209 dladm_status_t [all …]
|
H A D | libdlaggr.h | 74 extern dladm_status_t dladm_aggr_create(dladm_handle_t, const char *, 78 extern dladm_status_t dladm_aggr_delete(dladm_handle_t, datalink_id_t, 80 extern dladm_status_t dladm_aggr_add(dladm_handle_t, datalink_id_t, uint32_t, 82 extern dladm_status_t dladm_aggr_remove(dladm_handle_t, datalink_id_t, 84 extern dladm_status_t dladm_aggr_modify(dladm_handle_t, datalink_id_t, 87 extern dladm_status_t dladm_aggr_up(dladm_handle_t, datalink_id_t); 88 extern dladm_status_t dladm_aggr_info(dladm_handle_t, datalink_id_t, 103 extern dladm_status_t dladm_key2linkid(dladm_handle_t, uint16_t,
|
H A D | libdlmgmt.c | 55 static dladm_status_t 61 dladm_status_t status; in dladm_door_call() 110 dladm_status_t 118 dladm_status_t status; in dladm_create_datalink_id() 160 dladm_status_t 183 dladm_status_t 202 dladm_status_t 218 dladm_status_t 224 dladm_status_t status; in dladm_create_conf() 250 dladm_status_t [all …]
|
H A D | libdlbridge.c | 133 static dladm_status_t 136 dladm_status_t status; in exact_instance() 251 static dladm_status_t 344 static dladm_status_t 349 dladm_status_t status; in port_door_call() 358 static dladm_status_t 361 dladm_status_t status; in bridge_refresh() 418 dladm_status_t 500 dladm_status_t 622 static dladm_status_t [all …]
|
H A D | libdlvnic.c | 56 static dladm_status_t dladm_vnic_persist_conf(dladm_handle_t, 60 static dladm_status_t dladm_vnic_str2macaddr(const char *, uchar_t *); 65 static dladm_status_t 105 dladm_status_t 110 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_vnic_create_sys() 160 static dladm_status_t 167 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_vnic_info_active() 195 static dladm_status_t 200 dladm_status_t status; in i_dladm_vnic_info_persist() 293 dladm_status_t [all …]
|
H A D | libdllink.c | 51 static dladm_status_t 67 static dladm_status_t 82 dladm_status_t 94 dladm_status_t 127 dladm_status_t 305 dladm_status_t 339 dladm_status_t 389 static dladm_status_t 394 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_rename_link_c1() 430 dladm_status_t status; in i_dladm_aggr_link_hold() [all …]
|
H A D | libdlsim.h | 47 dladm_status_t dladm_simnet_create(dladm_handle_t, const char *, 49 dladm_status_t dladm_simnet_delete(dladm_handle_t, datalink_id_t, uint32_t); 50 dladm_status_t dladm_simnet_modify(dladm_handle_t, datalink_id_t, 52 dladm_status_t dladm_simnet_info(dladm_handle_t, datalink_id_t, 54 dladm_status_t dladm_simnet_up(dladm_handle_t, datalink_id_t, uint32_t);
|
H A D | flowattr.c | 52 static dladm_status_t do_check_port(char *, boolean_t, flow_desc_t *); 65 static dladm_status_t 71 static dladm_status_t 77 dladm_status_t 80 dladm_status_t status; in do_check_ip_addr() 141 dladm_status_t 157 dladm_status_t 163 dladm_status_t 169 dladm_status_t 192 static dladm_status_t [all …]
|
H A D | libdlvnic.h | 55 extern dladm_status_t dladm_vnic_create(dladm_handle_t, const char *, 61 extern dladm_status_t dladm_vnic_delete(dladm_handle_t, datalink_id_t, 63 extern dladm_status_t dladm_vnic_info(dladm_handle_t, datalink_id_t, 66 extern dladm_status_t dladm_vnic_up(dladm_handle_t, datalink_id_t, uint32_t); 67 extern dladm_status_t dladm_vnic_str2macaddrtype(const char *,
|
H A D | libdlib.h | 62 extern dladm_status_t dladm_part_create(dladm_handle_t, datalink_id_t, 64 extern dladm_status_t dladm_part_delete(dladm_handle_t, datalink_id_t, int); 65 extern dladm_status_t dladm_part_up(dladm_handle_t, datalink_id_t, uint32_t); 66 extern dladm_status_t dladm_part_info(dladm_handle_t, datalink_id_t, 68 extern dladm_status_t dladm_ib_info(dladm_handle_t, datalink_id_t,
|