Lines Matching refs:NECPLOG
877 NECPLOG(LOG_ERR, "necp_session_add_policy invalid input (%zu)", (size_t)uap->in_buffer_length); in necp_session_add_policy()
883 …NECPLOG(LOG_ERR, "necp_session_add_policy invalid output buffer (%zu)", (size_t)uap->out_buffer_le… in necp_session_add_policy()
895 NECPLOG(LOG_ERR, "necp_session_add_policy tlv copyin error (%d)", error); in necp_session_add_policy()
901 NECPLOG(LOG_ERR, "necp_session_add_policy failed to add policy (%d)", error); in necp_session_add_policy()
907 NECPLOG(LOG_ERR, "necp_session_add_policy policy_id copyout error (%d)", error); in necp_session_add_policy()
928 NECPLOG(LOG_ERR, "necp_session_get_policy invalid input (%zu)", (size_t)uap->in_buffer_length); in necp_session_get_policy()
936 NECPLOG(LOG_ERR, "necp_session_get_policy policy_id copyin error (%d)", error); in necp_session_get_policy()
942 NECPLOG(LOG_ERR, "Failed to find policy with id %d", policy_id); in necp_session_get_policy()
952 …NECPLOG(LOG_ERR, "necp_session_get_policy buffer not large enough (%zu < %u)", (size_t)uap->out_bu… in necp_session_get_policy()
958 NECPLOG(LOG_ERR, "necp_session_get_policy size too large to copy (%u)", response_size); in necp_session_get_policy()
980 NECPLOG(LOG_ERR, "necp_session_get_policy TLV copyout error (%d)", error); in necp_session_get_policy()
1000 NECPLOG(LOG_ERR, "necp_session_delete_policy invalid input (%zu)", (size_t)uap->in_buffer_length); in necp_session_delete_policy()
1008 NECPLOG(LOG_ERR, "necp_session_delete_policy policy_id copyin error (%d)", error); in necp_session_delete_policy()
1014 NECPLOG(LOG_ERR, "necp_session_delete_policy failed to find policy with id %u", delete_policy_id); in necp_session_delete_policy()
1052 NECPLOG(LOG_ERR, "necp_session_list_all size too large to copy (%u policies)", num_policies); in necp_session_list_all()
1059 …NECPLOG(LOG_ERR, "necp_session_list_all buffer not large enough (%zu < %u)", (size_t)uap->out_buff… in necp_session_list_all()
1081 NECPLOG(LOG_ERR, "necp_session_list_all TLV copyout error (%d)", error); in necp_session_list_all()
1113 …NECPLOG(LOG_ERR, "necp_session_set_session_priority invalid input (%zu)", (size_t)uap->in_buffer_l… in necp_session_set_session_priority()
1121 NECPLOG(LOG_ERR, "necp_session_set_session_priority priority copyin error (%d)", error); in necp_session_set_session_priority()
1131 …NECPLOG(LOG_ERR, "Session does not hold necessary entitlement to claim priority level %d", request… in necp_session_set_session_priority()
1169 …NECPLOG(LOG_ERR, "necp_session_register_service invalid input (%zu)", (size_t)uap->in_buffer_lengt… in necp_session_register_service()
1177 NECPLOG(LOG_ERR, "necp_session_register_service uuid copyin error (%d)", error); in necp_session_register_service()
1204 …NECPLOG(LOG_ERR, "necp_session_unregister_service invalid input (%zu)", (size_t)uap->in_buffer_len… in necp_session_unregister_service()
1212 NECPLOG(LOG_ERR, "necp_session_unregister_service uuid copyin error (%d)", error); in necp_session_unregister_service()
1243 …NECPLOG(LOG_ERR, "necp_session_dump_all invalid output buffer (%zu)", (size_t)uap->out_buffer_leng… in necp_session_dump_all()
1264 NECPLOG(LOG_ERR, "necp_session_action find fd error (%d)", error); in necp_session_action()
1331 NECPLOG(LOG_ERR, "necp_session_action unknown action (%u)", action); in necp_session_action()
1531 NECPLOG(LOG_ERR, "Cannot write TLV in buffer (TLV length %u, buffer length %u)", in necp_buffer_write_tlv_validate()
1697 NECPLOG(LOG_ERR, "necp_get_tlv_at_offset buffer_length is too small for TLV (%u < %lu)", in necp_get_tlv_at_offset()
1705 …NECPLOG(LOG_ERR, "necp_get_tlv_at_offset buffer_length is too small for TLV of length %u (%u < %lu… in necp_get_tlv_at_offset()
1713 NECPLOG(LOG_ERR, "necp_get_tlv_at_offset out_buffer_length is too small for TLV value (%u < %u)", in necp_get_tlv_at_offset()
1796 NECPLOG(LOG_DEBUG, "Created NECP session, control unit %d", control_unit); in necp_create_session()
1935 NECPLOG(LOG_DEBUG, "Policy result type %d, valid %d", type, validated); in necp_policy_result_is_valid()
2174 NECPLOG(LOG_DEBUG, "Policy condition type %d, valid %d", type, validated); in necp_policy_condition_is_valid()
2227 NECPLOG(LOG_DEBUG, "Policy route rule type %d, valid %d", type, validated); in necp_policy_route_rule_is_valid()
2288 NECPLOG(LOG_ERR, "Failed to get policy order: %d", error); in necp_handle_policy_add()
2296 NECPLOG(LOG_ERR, "Failed to find policy result TLV: %d", error); in necp_handle_policy_add()
2302 NECPLOG(LOG_ERR, "Failed to get policy result length: %d", error); in necp_handle_policy_add()
2307 NECPLOG(LOG_ERR, "Policy result length too large: %u", policy_result_size); in necp_handle_policy_add()
2313 NECPLOG(LOG_ERR, "Failed to allocate a policy result buffer (size %d)", policy_result_size); in necp_handle_policy_add()
2319 NECPLOG(LOG_ERR, "Failed to get policy result: %d", error); in necp_handle_policy_add()
2351 NECPLOG(LOG_ERR, "Route rules length too large: %u", route_rules_array_size); in necp_handle_policy_add()
2357 …NECPLOG(LOG_ERR, "Failed to allocate a policy route rules array (size %d)", route_rules_array_size… in necp_handle_policy_add()
2426 NECPLOG(LOG_ERR, "Conditions length too large: %u", conditions_array_size); in necp_handle_policy_add()
2432 NECPLOG(LOG_ERR, "Failed to allocate a policy conditions array (size %d)", conditions_array_size); in necp_handle_policy_add()
2685 …NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer_pointers (%lu bytes)", sizeof(u_int8_t *) * poli… in necp_handle_policy_dump_all()
2691 …NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer_lengths (%lu bytes)", sizeof(u_int32_t) * policy… in necp_handle_policy_dump_all()
2708 NECPLOG(LOG_DEBUG, "Policy: process: %s, result: %s", proc_name_string, result_string); in necp_handle_policy_dump_all()
2853 NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer (%u bytes)", total_allocated_bytes); in necp_handle_policy_dump_all()
2873 NECPLOG(LOG_DEBUG, "Failed to allocate cond_buffer (%u bytes)", condition_tlv_length); in necp_handle_policy_dump_all()
3036 …NECPLOG(LOG_DEBUG, "out_buffer_length too small (%lu < %lu)", out_buffer_length, total_tlv_len + s… in necp_handle_policy_dump_all()
3043 …NECPLOG(LOG_DEBUG, "Failed to allocate result_buffer (%lu bytes)", total_tlv_len + sizeof(u_int32_… in necp_handle_policy_dump_all()
3061 …NECPLOG(LOG_DEBUG, "Failed to copy out result_buffer (%lu bytes)", total_tlv_len + sizeof(u_int32_… in necp_handle_policy_dump_all()
3125 NECPLOG(LOG_DEBUG, "Created NECP policy, order %d", order); in necp_policy_create()
4225 …NECPLOG(LOG_DEBUG, "Added kernel policy: socket, id=%d, mask=%llx\n", new_kernel_policy->id, new_k… in necp_kernel_socket_policy_add()
4538 …NECPLOG(LOG_DEBUG, "\t%3d. Policy ID: %5d\tProcess: %10.10s\tOrder: %04d.%04d\tMask: %llx\tResult:… in necp_kernel_socket_policies_dump_all()
4547 NECPLOG(LOG_DEBUG, "\tApp Bucket: %d\n", app_i); in necp_kernel_socket_policies_dump_all()
4551 …NECPLOG(LOG_DEBUG, "\t%3d. Policy ID: %5d\tProcess: %10.10s\tOrder: %04d.%04d\tMask: %llx\tResult:… in necp_kernel_socket_policies_dump_all()
5855 …NECPLOG(LOG_DEBUG, "Added kernel policy: ip output, id=%d, mask=%llx\n", new_kernel_policy->id, ne… in necp_kernel_ip_output_policy_add()
5919 NECPLOG(LOG_DEBUG, " ID Bucket: %d\n", id_i); in necp_kernel_ip_output_policies_dump_all()
5923 …NECPLOG(LOG_DEBUG, "\t%3d. Policy ID: %5d\tProcess: %10.10s\tOrder: %04d.%04d.%d\tMask: %llx\tResu… in necp_kernel_ip_output_policies_dump_all()
6435 NECPLOG(LOG_INFO, "Dropping unentitled multicast (SDK 0x%x, min 0x%x)", sdk, min_sdk); in necp_check_restricted_multicast_drop()
6590 …NECPLOG(LOG_ERR, "%s(%d) does not hold the necessary entitlement to delegate network traffic for o…
6731 NECPLOG(LOG_ERR, "Invalid TLV length (%u)", length); in necp_application_find_policy_match_internal()
8388 …NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8396 …NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8404 …NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8411 …NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8438 …NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8461 …NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8473 …NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8549 …NECPLOG(LOG_ERR, "Failed to get address list for %s%d", ifnet_name(interface), ifnet_unit(interfac… in necp_socket_uses_interface()
8780 …NECPLOG(LOG_DEBUG, "Socket Policy: (BoundInterface %d Proto %d) Dropping packet because service is… in necp_socket_find_policy_match()
8812 NECPLOG(LOG_DEBUG, "Socket Policy: Triggering inactive agent, error %d", trigger_error); in necp_socket_find_policy_match()
8827 …NECPLOG(LOG_DEBUG, "Socket Policy: (BoundInterface %d Proto %d) Dropping packet because agent is n… in necp_socket_find_policy_match()
8871 NECPLOG(LOG_ERR, "Marking socket in state %d as defunct", so->so_state); in necp_socket_find_policy_match()
8881 …NECPLOG(LOG_DEBUG, "Socket Policy: %p (BoundInterface %d Proto %d) Policy %d Result %d Parameter %… in necp_socket_find_policy_match()
9406 …NECPLOG(LOG_DEBUG, "IP Output: (ID %d BoundInterface %d LastInterface %d Proto %d) Policy %d Resul… in necp_ip_output_find_policy_match()
9575 …NECPLOG(LOG_DEBUG, "IP6 Output: (ID %d BoundInterface %d LastInterface %d Proto %d) Policy %d Resu… in necp_ip6_output_find_policy_match()
9904 NECPLOG(LOG_DEBUG, "QoS Marking : Interface match %d for Rule %d Allowed %d", in necp_update_qos_marking()
9918 NECPLOG(LOG_DEBUG, "QoS Marking: C:%d WF:%d W:%d E:%d Cn:%d for Rule %d Allowed %d", in necp_update_qos_marking()
9926 NECPLOG(LOG_DEBUG, "QoS Marking: Rule %d ifp %s Allowed %d", in necp_update_qos_marking()
10069 …NECPLOG(LOG_DEBUG, "Route Allowed: No interface for route, using default for Rule %d Allowed %d", … in necp_route_is_allowed_inner()
10084 NECPLOG(LOG_DEBUG, "Route Allowed: Interface match %d for Rule %d Deny LQM Abort", in necp_route_is_allowed_inner()
10090 …NECPLOG(LOG_DEBUG, "Route Allowed: Interface match %d for Rule %d Allowed %d", route_rule->excepti… in necp_route_is_allowed_inner()
10197 …NECPLOG(LOG_DEBUG, "Route Allowed: C:%d WF:%d W:%d E:%d for Rule %d Allowed %d", route_rule->cellu… in necp_route_is_allowed_inner()
10203 …NECPLOG(LOG_DEBUG, "Route Allowed: Using default for Rule %d Allowed %d", route_rule_id, default_i… in necp_route_is_allowed_inner()
10214 …NECPLOG(LOG_DEBUG, "Route Allowed: no route or interface, Rule %d Allowed %d", route_rule_id, TRUE… in necp_route_is_allowed()
10761 …NECPLOG(LOG_DEBUG, "Socket Send/Recv Policy: Policy %d Allowed %d", return_policy_id ? *return_pol… in necp_socket_is_allowed_to_send_recv_internal()
11215 …NECPLOG(LOG_ERR, "Failed to get address list for %s%d error %d", ifnet_name(interface), ifnet_unit… in necp_packet_can_rebind_to_ifnet()
11417 NECPLOG(LOG_ERR, "%s (process %s:%u) not permitted", __func__, proc_best_name(p), pid);
11421 …NECPLOG(LOG_ERR, "%s (process %s:%u) bad newlen %lu", __func__, proc_best_name(p), pid, req->newle…
11428 …NECPLOG(LOG_ERR, "%s (process %s:%u) sysctl_io_opaque() error %d", __func__, proc_best_name(p), pi…
11439 …NECPLOG(LOG_ERR, "%s (process %s:%u) bad entry_count %u", __func__, proc_best_name(p), pid, tmp_dr…
11449 …NECPLOG(LOG_ERR, "%s (process %s:%u) NECP_SESSION_PRIORITY_UNKNOWN bad entry_count %u", __func__, …
11464 …NECPLOG(LOG_ERR, "%s (process %s:%u) priority %u entry_count 0", __func__, proc_best_name(p), pid,…
11469 …NECPLOG(LOG_ERR, "%s (process %s:%u) bad level %u", __func__, proc_best_name(p), pid, tmp_drop_des…
11477 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad prefix %u", __func__, proc_best_name(p), pid, npc…
11481 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad sin_len %u", __func__, proc_best_name(p), pid, np…
11485 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad sin_port %u, not zero", __func__, proc_best_name(…
11492 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad prefix %u", __func__, proc_best_name(p), pid, np…
11496 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_len %u", __func__, proc_best_name(p), pid, …
11500 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_port %u, not zero", __func__, proc_best_nam…
11504 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_flowinfo %u, not zero", __func__, proc_best…
11508 …NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_scope_id %u, not zero", __func__, proc_best…