Lines Matching defs:flow

96 dladm_set_flowprop(dladm_handle_t handle, const char *flow,
105 if (flow == NULL || (prop_val == NULL && val_cnt > 0) ||
109 inputzoneid = dladm_extra_names(flow, fname, zonename);
139 dladm_walk_flowprop(int (*func)(void *, const char *), const char *flow,
144 if (flow == NULL || func == NULL)
147 /* Then show data-flow properties if there are any */
156 dladm_get_flowprop(dladm_handle_t handle, const char *flow, uint32_t type,
161 if (flow == NULL || prop_name == NULL || prop_val == NULL ||
168 return (i_dladm_get_flowprop_db(handle, flow, prop_name,
172 status = i_dladm_get_prop_temp(handle, flow, type, prop_name,
182 i_dladm_set_flowprop_db(dladm_handle_t handle, const char *flow,
188 status = dladm_read_flowconf(handle, flow, NULL);
199 status = dladm_set_flowconf_field(handle, flow,
204 return (dladm_write_flowconf(handle, flow, root));
214 status = dladm_set_flowconf_field(handle, flow, prop_name,
217 dladm_write_flowconf(handle, flow, root) : status);
221 i_dladm_get_flowprop_db(dladm_handle_t handle, const char *flow,
229 zoneid = dladm_extra_names(flow, flowname, zonename);
231 status = dladm_read_flowconf(handle, flow, NULL);
262 dladm_flow_info(dladm_handle_t handle, const char *flow,
271 if ((flow == NULL) || (attr == NULL))
274 inputzoneid = dladm_extra_names(flow, fname, zonename);
283 (void) strlcpy(ioc->wf_name, flow, sizeof (ioc->wf_name));
290 (void) strlcpy(ioc->wf_name, flow,
317 do_get_maxbw(dladm_handle_t handle, const char *flow, char **prop_val,
325 status = dladm_flow_info(handle, flow, &fa);
342 do_set_maxbw(dladm_handle_t handle, const char *flow, val_desc_t *vdp,
362 (void) strlcpy(attr.mf_name, flow, sizeof (attr.mf_name));