Home
last modified time | relevance | path

Searched refs:dladm_status_t (Results 1 – 25 of 70) sorted by relevance

123

/titanic_50/usr/src/lib/libdladm/common/
H A Dlibdllink.h117 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 Dlibdladm.h177 } dladm_status_t; typedef
203 extern dladm_status_t dladm_open(dladm_handle_t *);
242 extern const char *dladm_status2str(dladm_status_t, char *);
243 extern dladm_status_t dladm_set_rootdir(const char *);
249 extern dladm_status_t dladm_str2bw(char *, uint64_t *);
251 extern dladm_status_t dladm_str2pri(char *, mac_priority_level_t *);
253 extern dladm_status_t dladm_str2protect(char *, uint32_t *);
255 extern dladm_status_t dladm_str2ipv4addr(char *, void *);
257 extern dladm_status_t dladm_str2ipv6addr(char *, void *);
260 extern dladm_status_t dladm_parse_flow_props(char *, dladm_arg_list_t **,
[all …]
H A Dlibdlflow_impl.h41 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 Dlibdlbridge.h51 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 Dlibdlwlan.h184 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 Dlibdlflow.h55 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 Dlibdliptun.c63 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()
168 static dladm_status_t
220 dladm_status_t
223 dladm_status_t status = DLADM_STATUS_OK; in i_iptun_get_sysparams()
239 static dladm_status_t
242 dladm_status_t status; in i_iptun_get_dbparams()
282 static dladm_status_t
[all …]
H A Dflowprop.c50 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 Dlibdliptun.h56 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 Dlibdlwlan.c46 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 Dlibdlsim.c40 static dladm_status_t dladm_simnet_persist_conf(dladm_handle_t, const char *,
44 static dladm_status_t
48 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_create_simnet()
72 static dladm_status_t
76 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_modify_simnet()
91 static dladm_status_t
95 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_delete_simnet()
109 static dladm_status_t
113 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_get_simnet_info()
133 static dladm_status_t
[all …]
H A Dlibdladm_impl.h54 extern dladm_status_t dladm_door_fd(dladm_handle_t, int *);
56 extern dladm_status_t dladm_errno2status(int);
57 extern dladm_status_t i_dladm_rw_db(dladm_handle_t, const char *, mode_t,
58 dladm_status_t (*)(dladm_handle_t, void *, FILE *,
60 extern dladm_status_t dladm_get_state(dladm_handle_t, datalink_id_t,
63 extern dladm_status_t dladm_parse_args(char *, dladm_arg_list_t **,
135 extern dladm_status_t dladm_link_proplist_extract(dladm_handle_t,
139 extern dladm_status_t dladm_flow_proplist_extract(dladm_arg_list_t *,
148 typedef dladm_status_t rp_extractf_t(val_desc_t *, uint_t, void *);
H A Dlinkprop.c83 typedef dladm_status_t pd_getf_t(dladm_handle_t, prop_desc_t *pdp,
98 typedef dladm_status_t pd_setf_t(dladm_handle_t, prop_desc_t *, datalink_id_t,
116 typedef dladm_status_t pd_checkf_t(dladm_handle_t, prop_desc_t *pdp,
128 dladm_status_t dla_status;
133 const char *, uint_t, dladm_status_t *);
135 mac_prop_id_t, uint_t, dladm_status_t *);
136 static dladm_status_t i_dladm_get_public_prop(dladm_handle_t, datalink_id_t,
139 static dladm_status_t i_dladm_set_private_prop(dladm_handle_t, datalink_id_t,
141 static dladm_status_t i_dladm_get_priv_prop(dladm_handle_t, datalink_id_t,
144 static dladm_status_t i_dladm_macprop(dladm_handle_t, void *, boolean_t);
[all …]
H A Dlibdlib.c54 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 Dlibdlmgmt.c53 static dladm_status_t
59 dladm_status_t status; in dladm_door_call()
108 dladm_status_t
116 dladm_status_t status; in dladm_create_datalink_id()
145 dladm_status_t
168 dladm_status_t
187 dladm_status_t
203 dladm_status_t
209 dladm_status_t status; in dladm_create_conf()
235 dladm_status_t
[all …]
H A Dlibdlaggr.h74 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 Dsecobj.c39 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 Dlibdlsim.h45 dladm_status_t dladm_simnet_create(dladm_handle_t, const char *,
47 dladm_status_t dladm_simnet_delete(dladm_handle_t, datalink_id_t, uint32_t);
48 dladm_status_t dladm_simnet_modify(dladm_handle_t, datalink_id_t,
50 dladm_status_t dladm_simnet_info(dladm_handle_t, datalink_id_t,
52 dladm_status_t dladm_simnet_up(dladm_handle_t, datalink_id_t, uint32_t);
H A Dlibdlvnic.h55 extern dladm_status_t dladm_vnic_create(dladm_handle_t, const char *,
60 extern dladm_status_t dladm_vnic_delete(dladm_handle_t, datalink_id_t,
62 extern dladm_status_t dladm_vnic_info(dladm_handle_t, datalink_id_t,
65 extern dladm_status_t dladm_vnic_up(dladm_handle_t, datalink_id_t, uint32_t);
66 extern dladm_status_t dladm_vnic_str2macaddrtype(const char *,
H A Dlibdlib.h62 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 Dflowattr.c52 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 Dlibdlvnic.c54 static dladm_status_t dladm_vnic_persist_conf(dladm_handle_t,
58 static dladm_status_t dladm_vnic_str2macaddr(const char *, uchar_t *);
63 static dladm_status_t
103 dladm_status_t
108 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_vnic_create_sys()
156 static dladm_status_t
163 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_vnic_info_active()
191 static dladm_status_t
196 dladm_status_t status; in i_dladm_vnic_info_persist()
289 dladm_status_t
[all …]
H A Dlibdlbridge.c133 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 Dlibdllink.c51 static dladm_status_t
67 static dladm_status_t
82 dladm_status_t
94 dladm_status_t
127 dladm_status_t
306 dladm_status_t
340 dladm_status_t
390 static dladm_status_t
395 dladm_status_t status = DLADM_STATUS_OK; in i_dladm_rename_link_c1()
431 dladm_status_t status; in i_dladm_aggr_link_hold()
[all …]
H A Dlibdlvlan.c40 dladm_status_t
44 dladm_status_t status; in dladm_vlan_info()
60 dladm_status_t
73 dladm_status_t
79 dladm_status_t

123