/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 *, 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, 134 void *, int (*)(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 | 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, 65 typedef void (*dladm_overlay_status_f)(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, 86 extern dladm_status_t dladm_overlay_get_prop(dladm_handle_t, datalink_id_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 *, 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 *, 106 typedef boolean_t (*prop_db_op_t)(dladm_handle_t, prop_db_state_t *, 109 typedef dladm_status_t (*prop_db_initop_t)(dladm_handle_t, const char *, 121 extern boolean_t process_prop_set(dladm_handle_t, prop_db_state_t *lsp, 124 extern boolean_t process_prop_get(dladm_handle_t, prop_db_state_t *lsp, 127 extern boolean_t process_prop_init(dladm_handle_t, prop_db_state_t *lsp, 130 extern dladm_status_t process_prop_db(dladm_handle_t, void *arg, FILE *fp, [all …]
|
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 | libdlbridge.h | 62 extern dladm_status_t dladm_bridge_configure(dladm_handle_t, const char *, 68 extern dladm_status_t dladm_bridge_delete(dladm_handle_t, const char *, 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, 90 extern bridge_listfwd_t *dladm_bridge_get_fwdtable(dladm_handle_t, const char *, 105 extern dladm_status_t dladm_bridge_get_port_cfg(dladm_handle_t, datalink_id_t, 107 extern dladm_status_t dladm_bridge_get_forwarding(dladm_handle_t, 109 extern dladm_status_t dladm_bridge_refresh(dladm_handle_t, datalink_id_t);
|
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); 63 extern dladm_status_t dladm_walk_flow(int (*)(dladm_handle_t, 64 dladm_flow_attr_t *, void *), 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 *,
|
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 | 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,
|
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 | 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 *, 45 boolean_t (*)(dladm_handle_t, void *, 127 dladm_set_secobj(dladm_handle_t handle, const char *obj_name, in dladm_set_secobj() 172 dladm_get_secobj(dladm_handle_t handle, const char *obj_name, in dladm_get_secobj() 210 dladm_unset_secobj(dladm_handle_t handle, const char *obj_name, uint_t flags) in dladm_unset_secobj() 239 dladm_walk_secobj(dladm_handle_t handle, void *arg, in dladm_walk_secobj() 240 boolean_t (*func)(dladm_handle_t, void *, const char *), uint_t flags) in dladm_walk_secobj() argument [all …]
|
H A D | libdladm.h | 215 typedef struct dladm_handle *dladm_handle_t; typedef 218 extern dladm_status_t dladm_open(dladm_handle_t *); 219 extern void dladm_close(dladm_handle_t); 225 extern int dladm_dld_fd(dladm_handle_t); 231 extern kstat_ctl_t *dladm_dld_kcp(dladm_handle_t); 296 extern dladm_status_t dladm_start_usagelog(dladm_handle_t, dladm_logtype_t, 298 extern dladm_status_t dladm_stop_usagelog(dladm_handle_t, dladm_logtype_t); 307 extern dladm_status_t dladm_zone_boot(dladm_handle_t, zoneid_t); 308 extern dladm_status_t dladm_zone_halt(dladm_handle_t, zoneid_t);
|
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 | 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); 62 static int i_dladm_part_up(dladm_handle_t, datalink_id_t, void *); 63 dladm_status_t dladm_part_up(dladm_handle_t, datalink_id_t, uint32_t); 95 i_dladm_ib_ioctl(dladm_handle_t handle, int ioccmd, ibd_ioctl_t *iocp) in i_dladm_ib_ioctl() 111 i_dladm_part_info_active(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_part_info_active() 158 i_dladm_part_info_persist(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_part_info_persist() [all …]
|
H A D | libdliptun.c | 64 i_iptun_ioctl(dladm_handle_t handle, int cmd, void *dp) in i_iptun_ioctl() 85 i_iptun_kparams(dladm_handle_t handle, const iptun_params_t *params, in i_iptun_kparams() 223 i_iptun_get_sysparams(dladm_handle_t handle, iptun_params_t *params) in i_iptun_get_sysparams() 242 i_iptun_get_dbparams(dladm_handle_t handle, iptun_params_t *params) in i_iptun_get_dbparams() 285 i_iptun_create_sys(dladm_handle_t handle, iptun_params_t *params) in i_iptun_create_sys() 300 i_iptun_create_db(dladm_handle_t handle, const char *name, in i_iptun_create_db() 341 i_iptun_delete_sys(dladm_handle_t handle, datalink_id_t linkid) in i_iptun_delete_sys() 353 i_iptun_modify_sys(dladm_handle_t handle, const iptun_params_t *params) in i_iptun_modify_sys() 364 i_iptun_modify_db(dladm_handle_t handle, const iptun_params_t *params) in i_iptun_modify_db() 405 dladm_iptun_create(dladm_handle_t handle, const char *name, in dladm_iptun_create() [all …]
|
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,
|
H A D | libdlmgmt.c | 56 dladm_door_call(dladm_handle_t handle, void *arg, size_t asize, void *rbuf, in dladm_door_call() 111 dladm_create_datalink_id(dladm_handle_t handle, const char *link, in dladm_create_datalink_id() 161 dladm_destroy_datalink_id(dladm_handle_t handle, datalink_id_t linkid, in dladm_destroy_datalink_id() 184 dladm_remap_datalink_id(dladm_handle_t handle, datalink_id_t linkid, in dladm_remap_datalink_id() 203 dladm_up_datalink_id(dladm_handle_t handle, datalink_id_t linkid) in dladm_up_datalink_id() 219 dladm_create_conf(dladm_handle_t handle, const char *link, datalink_id_t linkid, in dladm_create_conf() 251 i_dladm_phys_status(dladm_handle_t handle, datalink_id_t linkid, in i_dladm_phys_status() 287 dladm_walk_datalink_id(int (*fn)(dladm_handle_t, datalink_id_t, void *), in dladm_walk_datalink_id() argument 288 dladm_handle_t handle, void *argp, datalink_class_t class, in dladm_walk_datalink_id() 352 dladm_open_conf(dladm_handle_t handle, datalink_id_t linkid, in dladm_open_conf() [all …]
|
H A D | libdlvlan.h | 46 extern dladm_status_t dladm_vlan_info(dladm_handle_t, datalink_id_t, 48 extern dladm_status_t dladm_vlan_create(dladm_handle_t, const char *, 51 extern dladm_status_t dladm_vlan_delete(dladm_handle_t, datalink_id_t, 53 extern dladm_status_t dladm_vlan_up(dladm_handle_t, datalink_id_t);
|
H A D | libdllink.c | 52 i_dladm_info(dladm_handle_t handle, const datalink_id_t linkid, in i_dladm_info() 68 dladm_usagelog(dladm_handle_t handle, dladm_logtype_t type, in dladm_usagelog() 83 dladm_start_usagelog(dladm_handle_t handle, dladm_logtype_t type, in dladm_start_usagelog() 95 dladm_stop_usagelog(dladm_handle_t handle, dladm_logtype_t type) in dladm_stop_usagelog() 111 i_dladm_walk(dladm_handle_t handle, datalink_id_t linkid, void *arg) in i_dladm_walk() 128 dladm_walk(dladm_walkcb_t *fn, dladm_handle_t handle, void *arg, in dladm_walk() 142 dladm_walk_hwgrp(dladm_handle_t handle, datalink_id_t linkid, void *arg, in dladm_walk_hwgrp() 195 dladm_walk_macaddr(dladm_handle_t handle, datalink_id_t linkid, void *arg, in dladm_walk_macaddr() 340 dladm_info(dladm_handle_t handle, datalink_id_t linkid, dladm_attr_t *dap) in dladm_info() 390 i_dladm_rename_link_c1(dladm_handle_t handle, datalink_id_t linkid1, in i_dladm_rename_link_c1() [all …]
|
H A D | libdladm_impl.h | 60 extern dladm_status_t dladm_door_fd(dladm_handle_t, 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, 150 extern dladm_status_t dladm_link_proplist_extract(dladm_handle_t,
|
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);
|
H A D | libdlsim.c | 42 static dladm_status_t dladm_simnet_persist_conf(dladm_handle_t, const char *, 47 i_dladm_create_simnet(dladm_handle_t handle, dladm_simnet_attr_t *attrp) in i_dladm_create_simnet() 75 i_dladm_modify_simnet(dladm_handle_t handle, dladm_simnet_attr_t *attrp) in i_dladm_modify_simnet() 94 i_dladm_delete_simnet(dladm_handle_t handle, dladm_simnet_attr_t *attrp) in i_dladm_delete_simnet() 112 i_dladm_get_simnet_info(dladm_handle_t handle, dladm_simnet_attr_t *attrp) in i_dladm_get_simnet_info() 136 i_dladm_get_simnet_info_persist(dladm_handle_t handle, in i_dladm_get_simnet_info_persist() 182 dladm_simnet_create(dladm_handle_t handle, const char *simnetname, in dladm_simnet_create() 249 i_dladm_simnet_update_conf(dladm_handle_t handle, datalink_id_t simnet_id, in i_dladm_simnet_update_conf() 281 dladm_simnet_modify(dladm_handle_t handle, datalink_id_t simnet_id, in dladm_simnet_modify() 351 dladm_simnet_delete(dladm_handle_t handle, datalink_id_t simnet_id, in dladm_simnet_delete() [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, 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); 1046 static dladm_status_t i_dladm_set_linkprop_db(dladm_handle_t, datalink_id_t, 1048 static dladm_status_t i_dladm_get_linkprop_db(dladm_handle_t, datalink_id_t, 1050 static dladm_status_t i_dladm_walk_linkprop_priv_db(dladm_handle_t, [all …]
|
H A D | libdlstat.c | 173 dladm_get_single_mac_stat(dladm_handle_t handle, datalink_id_t linkid, in dladm_get_single_mac_stat() 426 void * dlstat_rx_lane_stats(dladm_handle_t, datalink_id_t); 431 void * dlstat_tx_lane_stats(dladm_handle_t, datalink_id_t); 436 void * dlstat_rx_lane_total_stats(dladm_handle_t, 440 void * dlstat_tx_lane_total_stats(dladm_handle_t, 444 void * dlstat_fanout_stats(dladm_handle_t, datalink_id_t); 449 void * dlstat_rx_ring_stats(dladm_handle_t, datalink_id_t); 454 void * dlstat_tx_ring_stats(dladm_handle_t, datalink_id_t); 459 void * dlstat_rx_ring_total_stats(dladm_handle_t, 463 void * dlstat_tx_ring_total_stats(dladm_handle_t, [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | driver.h | 27 int (*get_bssid)(dladm_handle_t, datalink_id_t, char *); 28 int (*get_ssid)(dladm_handle_t, datalink_id_t, char *); 29 int (*set_wpa)(dladm_handle_t, datalink_id_t, boolean_t); 30 int (*set_key)(dladm_handle_t, datalink_id_t, wpa_alg, uint8_t *, 32 int (*scan)(dladm_handle_t, datalink_id_t); 33 int (*get_scan_results)(dladm_handle_t, datalink_id_t, 35 int (*disassociate)(dladm_handle_t, datalink_id_t, int); 36 int (*associate)(dladm_handle_t, datalink_id_t, const char *, uint8_t *,
|
H A D | driver_wifi.c | 39 wpa_driver_wifi_get_bssid(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_get_bssid() 74 wpa_driver_wifi_get_ssid(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_get_ssid() 101 wpa_driver_wifi_set_wpa_ie(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_set_wpa_ie() 126 wpa_driver_wifi_set_wpa(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_set_wpa() 142 wpa_driver_wifi_del_key(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_del_key() 191 wpa_driver_wifi_set_key(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_set_key() 250 wpa_driver_wifi_disassociate(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_disassociate() 283 wpa_driver_wifi_associate(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_associate() 318 wpa_driver_wifi_scan(dladm_handle_t handle, datalink_id_t linkid) in wpa_driver_wifi_scan() 350 wpa_driver_wifi_get_scan_results(dladm_handle_t handle, datalink_id_t linkid, in wpa_driver_wifi_get_scan_results()
|