Lines Matching refs:add_request
9319 struct necp_client_add_flow * __indexable add_request = NULL; in necp_client_add_flow() local
9351 add_request = (struct necp_client_add_flow *)&default_add_request; in necp_client_add_flow()
9365 add_request = allocated_add_request; in necp_client_add_flow()
9400 new_registration->flags = add_request->flags; in necp_client_add_flow()
9404 …bool open_flow_on_behalf_of_client = (add_request->flags & NECP_CLIENT_FLOW_FLAGS_OPEN_FLOW_ON_BEH… in necp_client_add_flow()
9406 if (open_flow_on_behalf_of_client && !uuid_is_null(add_request->registration_id)) { in necp_client_add_flow()
9407 uuid_copy(registration_id_to_add, add_request->registration_id); in necp_client_add_flow()
9413 uuid_copy(add_request->registration_id, new_registration->registration_id); in necp_client_add_flow()
9419 add_request->stats_request_count * sizeof(struct necp_client_flow_stats)); in necp_client_add_flow()
9423 if (add_request->flags & NECP_CLIENT_FLOW_FLAGS_OVERRIDE_ADDRESS) { in necp_client_add_flow()
9426 override_address = flow_req_get_address(add_request, offset_of_address); in necp_client_add_flow()
9450 if (add_request->flags & NECP_CLIENT_FLOW_FLAGS_OVERRIDE_IP_PROTOCOL) { in necp_client_add_flow()
9453 uint8_t * __single ip_protocol_p = flow_req_get_proto(add_request, offset_of_ip_protocol); in necp_client_add_flow()
9466 if (add_request->flags & NECP_CLIENT_FLOW_FLAGS_ALLOW_NEXUS) { in necp_client_add_flow()
9476 if (uuid_compare(option->nexus_agent, add_request->agent_uuid) == 0) { in necp_client_add_flow()
9483 if (uuid_compare(option->nexus_agent, add_request->agent_uuid) == 0) { in necp_client_add_flow()
9494 …necp_client_add_nexus_flow_if_needed(new_registration, add_request->agent_uuid, interface_index, p… in necp_client_add_flow()
9496 error = netagent_client_message_with_params(add_request->agent_uuid, in necp_client_add_flow()
9509 …if (!necp_assign_client_result_locked(proc, fd_data, client, new_registration, add_request->agent_… in necp_client_add_flow()
9519 uuid_compare(flow->u.nexus_agent, add_request->agent_uuid) == 0) { in necp_client_add_flow()
9540 …if (error == 0 && add_request->stats_request_count > 0 && necp_arena_initialize(fd_data, true) == … in necp_client_add_flow()
9541 …struct necp_client_flow_stats * __single stats_request = &(necp_client_get_flow_stats(add_request)… in necp_client_add_flow()
9560 new_registration, add_request->agent_uuid); in necp_client_add_flow()
9565 (add_request->flags & NECP_CLIENT_FLOW_FLAGS_BROWSE || in necp_client_add_flow()
9566 add_request->flags & NECP_CLIENT_FLOW_FLAGS_RESOLVE)) { in necp_client_add_flow()
9574 if (uuid_compare(interface->if_agentids[i], add_request->agent_uuid) == 0) { in necp_client_add_flow()
9587 …necp_client_add_nexus_flow_if_needed(new_registration, add_request->agent_uuid, interface_index, p… in necp_client_add_flow()
9591 error = netagent_client_message_with_params(add_request->agent_uuid, in necp_client_add_flow()
9627 error = copyout(add_request, uap->buffer, buffer_size); in necp_client_add_flow()