Lines Matching refs:NECPLOG

910 		NECPLOG(LOG_ERR, "necp_session_add_policy invalid input (%zu)", (size_t)uap->in_buffer_length);  in necp_session_add_policy()
916NECPLOG(LOG_ERR, "necp_session_add_policy invalid output buffer (%zu)", (size_t)uap->out_buffer_le… in necp_session_add_policy()
928 NECPLOG(LOG_ERR, "necp_session_add_policy tlv copyin error (%d)", error); in necp_session_add_policy()
934 NECPLOG(LOG_ERR, "necp_session_add_policy failed to add policy (%d)", error); in necp_session_add_policy()
940 NECPLOG(LOG_ERR, "necp_session_add_policy policy_id copyout error (%d)", error); in necp_session_add_policy()
961 NECPLOG(LOG_ERR, "necp_session_get_policy invalid input (%zu)", (size_t)uap->in_buffer_length); in necp_session_get_policy()
969 NECPLOG(LOG_ERR, "necp_session_get_policy policy_id copyin error (%d)", error); in necp_session_get_policy()
975 NECPLOG(LOG_ERR, "Failed to find policy with id %d", policy_id); in necp_session_get_policy()
985NECPLOG(LOG_ERR, "necp_session_get_policy buffer not large enough (%zu < %u)", (size_t)uap->out_bu… in necp_session_get_policy()
991 NECPLOG(LOG_ERR, "necp_session_get_policy size too large to copy (%u)", response_size); in necp_session_get_policy()
1013 NECPLOG(LOG_ERR, "necp_session_get_policy TLV copyout error (%d)", error); in necp_session_get_policy()
1033 NECPLOG(LOG_ERR, "necp_session_delete_policy invalid input (%zu)", (size_t)uap->in_buffer_length); in necp_session_delete_policy()
1041 NECPLOG(LOG_ERR, "necp_session_delete_policy policy_id copyin error (%d)", error); in necp_session_delete_policy()
1047 NECPLOG(LOG_ERR, "necp_session_delete_policy failed to find policy with id %u", delete_policy_id); in necp_session_delete_policy()
1085 NECPLOG(LOG_ERR, "necp_session_list_all size too large to copy (%u policies)", num_policies); in necp_session_list_all()
1092NECPLOG(LOG_ERR, "necp_session_list_all buffer not large enough (%zu < %u)", (size_t)uap->out_buff… in necp_session_list_all()
1114 NECPLOG(LOG_ERR, "necp_session_list_all TLV copyout error (%d)", error); in necp_session_list_all()
1146NECPLOG(LOG_ERR, "necp_session_set_session_priority invalid input (%zu)", (size_t)uap->in_buffer_l… in necp_session_set_session_priority()
1154 NECPLOG(LOG_ERR, "necp_session_set_session_priority priority copyin error (%d)", error); in necp_session_set_session_priority()
1165NECPLOG(LOG_ERR, "Session does not hold necessary entitlement to claim priority level %d", request… in necp_session_set_session_priority()
1203NECPLOG(LOG_ERR, "necp_session_register_service invalid input (%zu)", (size_t)uap->in_buffer_lengt… in necp_session_register_service()
1211 NECPLOG(LOG_ERR, "necp_session_register_service uuid copyin error (%d)", error); in necp_session_register_service()
1238NECPLOG(LOG_ERR, "necp_session_unregister_service invalid input (%zu)", (size_t)uap->in_buffer_len… in necp_session_unregister_service()
1246 NECPLOG(LOG_ERR, "necp_session_unregister_service uuid copyin error (%d)", error); in necp_session_unregister_service()
1277NECPLOG(LOG_ERR, "necp_session_dump_all invalid output buffer (%zu)", (size_t)uap->out_buffer_leng… in necp_session_dump_all()
1299 NECPLOG(LOG_ERR, "necp_session_add_domain_filter invalid input (%zu)", (size_t)in_buffer_length); in necp_session_add_domain_filter()
1305NECPLOG(LOG_ERR, "necp_session_add_domain_filter buffer not large enough (%zu)", (size_t)out_buffe… in necp_session_add_domain_filter()
1312 NECPLOG(LOG_ERR, "necp_session_add_domain_filter allocate filter error (%zu)", in_buffer_length); in necp_session_add_domain_filter()
1319 NECPLOG(LOG_ERR, "necp_session_add_domain_filter filter copyin error (%d)", error); in necp_session_add_domain_filter()
1325NECPLOG(LOG_ERR, "necp_session_add_domain_filter size mismatch (%zu != %zu)", expected_filter_size… in necp_session_add_domain_filter()
1342 NECPLOG(LOG_ERR, "necp_session_add_domain_filter ID copyout error (%d)", error); in necp_session_add_domain_filter()
1364NECPLOG(LOG_ERR, "necp_session_remove_domain_filter invalid input (%zu)", (size_t)in_buffer_length… in necp_session_remove_domain_filter()
1372 NECPLOG(LOG_ERR, "necp_session_remove_domain_filter uuid copyin error (%d)", error); in necp_session_remove_domain_filter()
1420 NECPLOG(LOG_ERR, "necp_session_action find fd error (%d)", error); in necp_session_action()
1499 NECPLOG(LOG_ERR, "necp_session_action unknown action (%u)", action); in necp_session_action()
1692 NECPLOG(LOG_ERR, "Cannot write TLV in buffer (TLV length %u, buffer length %u)", in necp_buffer_write_tlv_validate()
1858 NECPLOG(LOG_ERR, "necp_get_tlv_at_offset buffer_length is too small for TLV (%u < %lu)", in necp_get_tlv_at_offset()
1866NECPLOG(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()
1874 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()
1959 NECPLOG(LOG_DEBUG, "Created NECP session, control unit %d", control_unit); in necp_create_session()
2111 NECPLOG(LOG_DEBUG, "Policy result type %d, valid %d", type, validated); in necp_policy_result_is_valid()
2361 NECPLOG(LOG_DEBUG, "Policy condition type %d, valid %d", type, validated); in necp_policy_condition_is_valid()
2414 NECPLOG(LOG_DEBUG, "Policy route rule type %d, valid %d", type, validated); in necp_policy_route_rule_is_valid()
2476 NECPLOG(LOG_ERR, "Failed to get policy order: %d", error); in necp_handle_policy_add()
2484 NECPLOG(LOG_ERR, "Failed to find policy result TLV: %d", error); in necp_handle_policy_add()
2490 NECPLOG(LOG_ERR, "Failed to get policy result length: %d", error); in necp_handle_policy_add()
2495 NECPLOG(LOG_ERR, "Policy result length too large: %u", policy_result_size); in necp_handle_policy_add()
2501 NECPLOG(LOG_ERR, "Failed to allocate a policy result buffer (size %d)", policy_result_size); in necp_handle_policy_add()
2507 NECPLOG(LOG_ERR, "Failed to get policy result: %d", error); in necp_handle_policy_add()
2539 NECPLOG(LOG_ERR, "Route rules length too large: %u", route_rules_array_size); in necp_handle_policy_add()
2545NECPLOG(LOG_ERR, "Failed to allocate a policy route rules array (size %d)", route_rules_array_size… in necp_handle_policy_add()
2614 NECPLOG(LOG_ERR, "Conditions length too large: %u", conditions_array_size); in necp_handle_policy_add()
2620 NECPLOG(LOG_ERR, "Failed to allocate a policy conditions array (size %d)", conditions_array_size); in necp_handle_policy_add()
2873NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer_pointers (%lu bytes)", sizeof(u_int8_t *) * poli… in necp_handle_policy_dump_all()
2879NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer_lengths (%lu bytes)", sizeof(u_int32_t) * policy… in necp_handle_policy_dump_all()
2896 NECPLOG(LOG_DEBUG, "Policy: process: %s, result: %s", proc_name_string, result_string); in necp_handle_policy_dump_all()
3049 NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer (%u bytes)", total_allocated_bytes); in necp_handle_policy_dump_all()
3069 NECPLOG(LOG_DEBUG, "Failed to allocate cond_buffer (%u bytes)", condition_tlv_length); in necp_handle_policy_dump_all()
3240NECPLOG(LOG_DEBUG, "out_buffer_length too small (%lu < %lu)", out_buffer_length, total_tlv_len + s… in necp_handle_policy_dump_all()
3247NECPLOG(LOG_DEBUG, "Failed to allocate result_buffer (%lu bytes)", total_tlv_len + sizeof(u_int32_… in necp_handle_policy_dump_all()
3265NECPLOG(LOG_DEBUG, "Failed to copy out result_buffer (%lu bytes)", total_tlv_len + sizeof(u_int32_… in necp_handle_policy_dump_all()
3329 NECPLOG(LOG_DEBUG, "Created NECP policy, order %d", order); in necp_policy_create()
4428NECPLOG(LOG_DEBUG, "Added kernel policy: socket, id=%d, mask=%llx\n", new_kernel_policy->id, new_k… in necp_kernel_socket_policy_add()
4701NECPLOG(LOG_DEBUG, "\t%3d. Policy ID: %5d\tProcess: %10.10s\tOrder: %04d.%04d\tMask: %llx\tResult:… in necp_kernel_socket_policies_dump_all()
4710 NECPLOG(LOG_DEBUG, "\tApp Bucket: %d\n", app_i); in necp_kernel_socket_policies_dump_all()
4714NECPLOG(LOG_DEBUG, "\t%3d. Policy ID: %5d\tProcess: %10.10s\tOrder: %04d.%04d\tMask: %llx\tResult:… in necp_kernel_socket_policies_dump_all()
6102NECPLOG(LOG_DEBUG, "Added kernel policy: ip output, id=%d, mask=%llx\n", new_kernel_policy->id, ne… in necp_kernel_ip_output_policy_add()
6166 NECPLOG(LOG_DEBUG, " ID Bucket: %d\n", id_i); in necp_kernel_ip_output_policies_dump_all()
6170NECPLOG(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()
6681 NECPLOG(LOG_INFO, "Dropping unentitled multicast (SDK 0x%x, min 0x%x)", sdk, min_sdk); in necp_check_restricted_multicast_drop()
6838NECPLOG(LOG_ERR, "%s(%d) does not hold the necessary entitlement to delegate network traffic for o…
6983 NECPLOG(LOG_ERR, "Invalid TLV length (%u)", length); in necp_application_find_policy_match_internal()
8798NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8806NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8833NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8856NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
8868NECPLOG(LOG_DEBUG, "Socket Policy: (Application %d Real Application %d BoundInterface %d Proto %d)… in necp_socket_find_policy_match_with_info_locked()
9171 NECPLOG(LOG_DEBUG, "Socket Policy: Triggering inactive agent, error %d", trigger_error); in necp_socket_find_policy_match()
9186NECPLOG(LOG_DEBUG, "Socket Policy: (BoundInterface %d Proto %d) Dropping packet because agent is n… in necp_socket_find_policy_match()
9230 NECPLOG(LOG_ERR, "Marking socket in state %d as defunct", so->so_state); in necp_socket_find_policy_match()
9240NECPLOG(LOG_DEBUG, "Socket Policy: %p (BoundInterface %d Proto %d) Policy %d Result %d Parameter %… in necp_socket_find_policy_match()
9767NECPLOG(LOG_DEBUG, "IP Output: (ID %d BoundInterface %d LastInterface %d Proto %d) Policy %d Resul… in necp_ip_output_find_policy_match()
9936NECPLOG(LOG_DEBUG, "IP6 Output: (ID %d BoundInterface %d LastInterface %d Proto %d) Policy %d Resu… in necp_ip6_output_find_policy_match()
10265 NECPLOG(LOG_DEBUG, "QoS Marking : Interface match %d for Rule %d Allowed %d", in necp_update_qos_marking()
10279 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()
10287 NECPLOG(LOG_DEBUG, "QoS Marking: Rule %d ifp %s Allowed %d", in necp_update_qos_marking()
10430NECPLOG(LOG_DEBUG, "Route Allowed: No interface for route, using default for Rule %d Allowed %d", … in necp_route_is_allowed_inner()
10445 NECPLOG(LOG_DEBUG, "Route Allowed: Interface match %d for Rule %d Deny LQM Abort", in necp_route_is_allowed_inner()
10451NECPLOG(LOG_DEBUG, "Route Allowed: Interface match %d for Rule %d Allowed %d", route_rule->excepti… in necp_route_is_allowed_inner()
10558NECPLOG(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()
10564NECPLOG(LOG_DEBUG, "Route Allowed: Using default for Rule %d Allowed %d", route_rule_id, default_i… in necp_route_is_allowed_inner()
10575NECPLOG(LOG_DEBUG, "Route Allowed: no route or interface, Rule %d Allowed %d", route_rule_id, TRUE… in necp_route_is_allowed()
11130NECPLOG(LOG_DEBUG, "Socket Send/Recv Policy: Policy %d Allowed %d", return_policy_id ? *return_pol… in necp_socket_is_allowed_to_send_recv_internal()
11795 NECPLOG(LOG_ERR, "%s (process %s:%u) not permitted", __func__, proc_best_name(p), pid);
11799NECPLOG(LOG_ERR, "%s (process %s:%u) bad newlen %lu", __func__, proc_best_name(p), pid, req->newle…
11806NECPLOG(LOG_ERR, "%s (process %s:%u) sysctl_io_opaque() error %d", __func__, proc_best_name(p), pi…
11817NECPLOG(LOG_ERR, "%s (process %s:%u) bad entry_count %u", __func__, proc_best_name(p), pid, tmp_dr…
11827NECPLOG(LOG_ERR, "%s (process %s:%u) NECP_SESSION_PRIORITY_UNKNOWN bad entry_count %u", __func__, …
11843NECPLOG(LOG_ERR, "%s (process %s:%u) priority %u entry_count 0", __func__, proc_best_name(p), pid,…
11848NECPLOG(LOG_ERR, "%s (process %s:%u) bad level %u", __func__, proc_best_name(p), pid, tmp_drop_des…
11856NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad prefix %u", __func__, proc_best_name(p), pid, npc…
11860NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad sin_len %u", __func__, proc_best_name(p), pid, np…
11864NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad sin_port %u, not zero", __func__, proc_best_name(…
11871NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad prefix %u", __func__, proc_best_name(p), pid, np…
11875NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_len %u", __func__, proc_best_name(p), pid, …
11879NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_port %u, not zero", __func__, proc_best_nam…
11883NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_flowinfo %u, not zero", __func__, proc_best…
11887NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_scope_id %u, not zero", __func__, proc_best…