Home | History | Annotate | Download | only in cli

Lines Matching defs:return_code

228 static void print_rmnet_api_status(int return_code, uint16_t error_number)
230 if (return_code == RMNETCTL_SUCCESS)
232 else if (return_code == RMNETCTL_LIB_ERR) {
235 } else if (return_code == RMNETCTL_KERNEL_ERR)
237 else if (return_code == RMNETCTL_INVALID_ARG)
260 int return_code = RMNETCTL_LIB_ERR;
271 return_code = rmnetctl_init(&handle, &error_number);
272 if (return_code!= RMNETCTL_SUCCESS) {
273 print_rmnet_api_status(return_code, error_number);
277 return_code = RMNETCTL_LIB_ERR;
279 return_code = rmnet_associate_network_device(handle,
282 return_code = rmnet_associate_network_device(handle,
286 return_code = rmnet_get_network_device_associated(handle,
288 if (return_code == RMNETCTL_SUCCESS)
293 return_code = rmnet_get_link_egress_data_format(handle,
295 if (return_code == RMNETCTL_SUCCESS) {
303 return_code = rmnet_get_link_ingress_data_format_tailspace(
305 if (return_code == RMNETCTL_SUCCESS) {
312 return_code = rmnet_new_vnd_prefix(handle,
316 return_code = rmnet_new_vnd(handle,
322 return_code = rmnet_get_vnd_name(handle, _STRTOUI32(argv[1]),
324 if (return_code == RMNETCTL_SUCCESS) {
329 return_code = rmnet_new_vnd(handle,
335 return_code = rmnet_set_link_ingress_data_format_tailspace(
342 return_code = rmnet_add_del_vnd_tc_flow(handle,
358 return_code = rmnet_get_logical_ep_config(handle,
361 if (return_code == RMNETCTL_SUCCESS) {
370 return_code = rmnet_add_del_vnd_tc_flow(handle,
377 return_code = rmnet_set_link_egress_data_format(handle,
383 return_code = rmnet_set_logical_ep_config(handle,
388 return_code = rmnet_unset_logical_ep_config(handle,
391 print_rmnet_api_status(return_code, error_number);
393 return return_code;