Lines Matching refs:add_request

9330 	struct necp_client_add_flow * __indexable add_request = NULL;  in necp_client_add_flow()  local
9362 add_request = (struct necp_client_add_flow *)&default_add_request; in necp_client_add_flow()
9376 add_request = allocated_add_request; in necp_client_add_flow()
9411 new_registration->flags = add_request->flags; in necp_client_add_flow()
9415 …bool open_flow_on_behalf_of_client = (add_request->flags & NECP_CLIENT_FLOW_FLAGS_OPEN_FLOW_ON_BEH… in necp_client_add_flow()
9417 if (open_flow_on_behalf_of_client && !uuid_is_null(add_request->registration_id)) { in necp_client_add_flow()
9418 uuid_copy(registration_id_to_add, add_request->registration_id); in necp_client_add_flow()
9424 uuid_copy(add_request->registration_id, new_registration->registration_id); in necp_client_add_flow()
9430 add_request->stats_request_count * sizeof(struct necp_client_flow_stats)); in necp_client_add_flow()
9434 if (add_request->flags & NECP_CLIENT_FLOW_FLAGS_OVERRIDE_ADDRESS) { in necp_client_add_flow()
9437 override_address = flow_req_get_address(add_request, offset_of_address); in necp_client_add_flow()
9461 if (add_request->flags & NECP_CLIENT_FLOW_FLAGS_OVERRIDE_IP_PROTOCOL) { in necp_client_add_flow()
9464 uint8_t * __single ip_protocol_p = flow_req_get_proto(add_request, offset_of_ip_protocol); in necp_client_add_flow()
9477 if (add_request->flags & NECP_CLIENT_FLOW_FLAGS_ALLOW_NEXUS) { in necp_client_add_flow()
9487 if (uuid_compare(option->nexus_agent, add_request->agent_uuid) == 0) { in necp_client_add_flow()
9494 if (uuid_compare(option->nexus_agent, add_request->agent_uuid) == 0) { in necp_client_add_flow()
9511 …necp_client_add_nexus_flow_if_needed(new_registration, add_request->agent_uuid, interface_index, p… in necp_client_add_flow()
9513 error = netagent_client_message_with_params(add_request->agent_uuid, in necp_client_add_flow()
9526 …if (!necp_assign_client_result_locked(proc, fd_data, client, new_registration, add_request->agent_… in necp_client_add_flow()
9536 uuid_compare(flow->u.nexus_agent, add_request->agent_uuid) == 0) { in necp_client_add_flow()
9557 …if (error == 0 && add_request->stats_request_count > 0 && necp_arena_initialize(fd_data, true) == … in necp_client_add_flow()
9558 …struct necp_client_flow_stats * __single stats_request = &(necp_client_get_flow_stats(add_request)… in necp_client_add_flow()
9577 new_registration, add_request->agent_uuid); in necp_client_add_flow()
9582 (add_request->flags & NECP_CLIENT_FLOW_FLAGS_BROWSE || in necp_client_add_flow()
9583 add_request->flags & NECP_CLIENT_FLOW_FLAGS_RESOLVE)) { in necp_client_add_flow()
9591 if (uuid_compare(interface->if_agentids[i], add_request->agent_uuid) == 0) { in necp_client_add_flow()
9604 …necp_client_add_nexus_flow_if_needed(new_registration, add_request->agent_uuid, interface_index, p… in necp_client_add_flow()
9608 error = netagent_client_message_with_params(add_request->agent_uuid, in necp_client_add_flow()
9644 error = copyout(add_request, uap->buffer, buffer_size); in necp_client_add_flow()