Lines Matching refs:NECPLOG

1132 		NECPLOG(LOG_ERR, "necp_session_add_policy invalid input (%zu)", (size_t)uap->in_buffer_length);  in necp_session_add_policy()
1138NECPLOG(LOG_ERR, "necp_session_add_policy invalid output buffer (%zu)", (size_t)uap->out_buffer_le… in necp_session_add_policy()
1150 NECPLOG(LOG_ERR, "necp_session_add_policy tlv copyin error (%d)", error); in necp_session_add_policy()
1156 NECPLOG(LOG_ERR, "necp_session_add_policy failed to add policy (%d)", error); in necp_session_add_policy()
1162 NECPLOG(LOG_ERR, "necp_session_add_policy policy_id copyout error (%d)", error); in necp_session_add_policy()
1183 NECPLOG(LOG_ERR, "necp_session_get_policy invalid input (%zu)", (size_t)uap->in_buffer_length); in necp_session_get_policy()
1191 NECPLOG(LOG_ERR, "necp_session_get_policy policy_id copyin error (%d)", error); in necp_session_get_policy()
1197 NECPLOG(LOG_ERR, "Failed to find policy with id %d", policy_id); in necp_session_get_policy()
1207NECPLOG(LOG_ERR, "necp_session_get_policy buffer not large enough (%zu < %u)", (size_t)uap->out_bu… in necp_session_get_policy()
1213 NECPLOG(LOG_ERR, "necp_session_get_policy size too large to copy (%u)", response_size); in necp_session_get_policy()
1235 NECPLOG(LOG_ERR, "necp_session_get_policy TLV copyout error (%d)", error); in necp_session_get_policy()
1255 NECPLOG(LOG_ERR, "necp_session_delete_policy invalid input (%zu)", (size_t)uap->in_buffer_length); in necp_session_delete_policy()
1263 NECPLOG(LOG_ERR, "necp_session_delete_policy policy_id copyin error (%d)", error); in necp_session_delete_policy()
1269 NECPLOG(LOG_ERR, "necp_session_delete_policy failed to find policy with id %u", delete_policy_id); in necp_session_delete_policy()
1307 NECPLOG(LOG_ERR, "necp_session_list_all size too large to copy (%u policies)", num_policies); in necp_session_list_all()
1314NECPLOG(LOG_ERR, "necp_session_list_all buffer not large enough (%zu < %u)", (size_t)uap->out_buff… in necp_session_list_all()
1336 NECPLOG(LOG_ERR, "necp_session_list_all TLV copyout error (%d)", error); in necp_session_list_all()
1368NECPLOG(LOG_ERR, "necp_session_set_session_priority invalid input (%zu)", (size_t)uap->in_buffer_l… in necp_session_set_session_priority()
1376 NECPLOG(LOG_ERR, "necp_session_set_session_priority priority copyin error (%d)", error); in necp_session_set_session_priority()
1387NECPLOG(LOG_ERR, "Session does not hold necessary entitlement to claim priority level %d", request… in necp_session_set_session_priority()
1425NECPLOG(LOG_ERR, "necp_session_dump_all invalid output buffer (%zu)", (size_t)uap->out_buffer_leng… in necp_session_dump_all()
1447 NECPLOG(LOG_ERR, "necp_session_add_domain_filter invalid input (%zu)", (size_t)in_buffer_length); in necp_session_add_domain_filter()
1453NECPLOG(LOG_ERR, "necp_session_add_domain_filter buffer not large enough (%zu)", (size_t)out_buffe… in necp_session_add_domain_filter()
1460 NECPLOG(LOG_ERR, "necp_session_add_domain_filter allocate filter error (%zu)", in_buffer_length); in necp_session_add_domain_filter()
1467 NECPLOG(LOG_ERR, "necp_session_add_domain_filter filter copyin error (%d)", error); in necp_session_add_domain_filter()
1473NECPLOG(LOG_ERR, "necp_session_add_domain_filter size mismatch (%zu != %zu)", expected_filter_size… in necp_session_add_domain_filter()
1490 NECPLOG(LOG_ERR, "necp_session_add_domain_filter ID copyout error (%d)", error); in necp_session_add_domain_filter()
1512NECPLOG(LOG_ERR, "necp_session_remove_domain_filter invalid input (%zu)", (size_t)in_buffer_length… in necp_session_remove_domain_filter()
1520 NECPLOG(LOG_ERR, "necp_session_remove_domain_filter uuid copyin error (%d)", error); in necp_session_remove_domain_filter()
1570 NECPLOG(LOG_ERR, "necp_session_add_domain_trie invalid input (%zu)", (size_t)in_buffer_length); in necp_session_add_domain_trie()
1576NECPLOG(LOG_ERR, "necp_session_add_domain_trie buffer not large enough (%zu)", (size_t)out_buffer_… in necp_session_add_domain_trie()
1583NECPLOG(LOG_ERR, "necp_session_add_domain_trie allocate trie request error (%zu)", in_buffer_lengt… in necp_session_add_domain_trie()
1590 NECPLOG(LOG_ERR, "necp_session_add_domain_trie filter copyin error (%d)", error); in necp_session_add_domain_trie()
1594NECPLOG(LOG_INFO, "necp_session_add_domain_trie received %zu bytes <trie mem size %d>", in_buffer_… in necp_session_add_domain_trie()
1605 NECPLOG(LOG_ERR, "necp_session_add_domain_trie ID copyout error (%d)", error); in necp_session_add_domain_trie()
1627 NECPLOG(LOG_ERR, "necp_session_remove_domain_trie invalid input (%zu)", (size_t)in_buffer_length); in necp_session_remove_domain_trie()
1635 NECPLOG(LOG_ERR, "necp_session_remove_domain_trie uuid copyin error (%d)", error); in necp_session_remove_domain_trie()
1693NECPLOG(LOG_ERR, "necp_session_trie_dump_all out_buffer not large enough for %zu", (size_t)output_… in necp_session_trie_dump_all()
1698NECPLOG(LOG_ERR, "necp_session_trie_dump_all temporary buffer not large enough for %zu", (size_t)o… in necp_session_trie_dump_all()
1733 NECPLOG(LOG_ERR, "necp_session_action find fd error (%d)", error); in necp_session_action()
1828 NECPLOG(LOG_ERR, "necp_session_action unknown action (%u)", action); in necp_session_action()
2117 NECPLOG(LOG_ERR, "Cannot write TLV in buffer (TLV length %u, buffer length %u)", in necp_buffer_write_tlv_validate()
2325 NECPLOG(LOG_ERR, "necp_get_tlv_at_offset buffer_length is too small for TLV (%u < %lu)", in necp_get_tlv_at_offset()
2333NECPLOG(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()
2341 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()
2426 NECPLOG(LOG_DEBUG, "Created NECP session, control unit %d", control_unit); in necp_create_session()
2575 NECPLOG(LOG_DEBUG, "Policy result type %d, valid %d", type, validated); in necp_policy_result_is_valid()
2842 NECPLOG(LOG_DEBUG, "Policy condition type %d, valid %d", type, validated); in necp_policy_condition_is_valid()
2900 NECPLOG(LOG_DEBUG, "Policy route rule type %d, valid %d", type, validated); in necp_policy_route_rule_is_valid()
2962 NECPLOG(LOG_ERR, "Failed to get policy order: %d", error); in necp_handle_policy_add()
2970 NECPLOG(LOG_ERR, "Failed to find policy result TLV: %d", error); in necp_handle_policy_add()
2977 NECPLOG(LOG_ERR, "Failed to get policy result length: %d", error); in necp_handle_policy_add()
2982 NECPLOG(LOG_ERR, "Policy result length too large: %u", policy_result_size); in necp_handle_policy_add()
2988 NECPLOG(LOG_ERR, "Failed to allocate a policy result buffer (size %d)", policy_result_size); in necp_handle_policy_add()
2994 NECPLOG(LOG_ERR, "Failed to get policy result: %d", error); in necp_handle_policy_add()
3027 NECPLOG(LOG_ERR, "Route rules length too large: %u", route_rules_array_size); in necp_handle_policy_add()
3033NECPLOG(LOG_ERR, "Failed to allocate a policy route rules array (size %d)", route_rules_array_size… in necp_handle_policy_add()
3102 NECPLOG(LOG_ERR, "Conditions length too large: %u", conditions_array_size); in necp_handle_policy_add()
3108 NECPLOG(LOG_ERR, "Failed to allocate a policy conditions array (size %d)", conditions_array_size); in necp_handle_policy_add()
3361NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer_pointers (%lu bytes)", sizeof(u_int8_t *) * poli… in necp_handle_policy_dump_all()
3367NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer_lengths (%lu bytes)", sizeof(u_int32_t) * policy… in necp_handle_policy_dump_all()
3384 NECPLOG(LOG_DEBUG, "Policy: process: %s, result: %s", proc_name_string, result_string); in necp_handle_policy_dump_all()
3553 NECPLOG(LOG_DEBUG, "Failed to allocate tlv_buffer (%u bytes)", total_allocated_bytes); in necp_handle_policy_dump_all()
3573 NECPLOG(LOG_DEBUG, "Failed to allocate cond_buffer (%u bytes)", condition_tlv_length); in necp_handle_policy_dump_all()
3788NECPLOG(LOG_DEBUG, "out_buffer_length too small (%lu < %lu)", out_buffer_length, total_tlv_len + s… in necp_handle_policy_dump_all()
3795NECPLOG(LOG_DEBUG, "Failed to allocate result_buffer (%lu bytes)", total_tlv_len + sizeof(u_int32_… in necp_handle_policy_dump_all()
3813NECPLOG(LOG_DEBUG, "Failed to copy out result_buffer (%lu bytes)", total_tlv_len + sizeof(u_int32_… in necp_handle_policy_dump_all()
3877 NECPLOG(LOG_DEBUG, "Created NECP policy, order %d", order); in necp_policy_create()
5073NECPLOG(LOG_DEBUG, "Added kernel policy: socket, id=%d, mask=%llx\n", new_kernel_policy->id, new_k… in necp_kernel_socket_policy_add()
5375NECPLOG(LOG_DEBUG, "\t%3d. Policy ID: %5d\tProcess: %10.10s\tOrder: %04d.%04d\tMask: %llx\tResult:… in necp_kernel_socket_policies_dump_all()
5384 NECPLOG(LOG_DEBUG, "\tApp Bucket: %d\n", app_i); in necp_kernel_socket_policies_dump_all()
5388NECPLOG(LOG_DEBUG, "\t%3d. Policy ID: %5d\tProcess: %10.10s\tOrder: %04d.%04d\tMask: %llx\tResult:… in necp_kernel_socket_policies_dump_all()
7102NECPLOG(LOG_DEBUG, "Added kernel policy: ip output, id=%d, mask=%llx\n", new_kernel_policy->id, ne… in necp_kernel_ip_output_policy_add()
7166 NECPLOG(LOG_DEBUG, " ID Bucket: %d\n", id_i); in necp_kernel_ip_output_policies_dump_all()
7170NECPLOG(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()
7761 NECPLOG(LOG_INFO, "Dropping unentitled multicast (SDK 0x%x, min 0x%x)", sdk, min_sdk); in necp_check_restricted_multicast_drop()
7943NECPLOG(LOG_ERR, "%s(%d) does not hold the necessary entitlement to delegate network traffic for o…
8090 NECPLOG(LOG_ERR, "Invalid TLV length (%u)", length); in necp_application_find_policy_match_internal()
9380NECPLOG(LOG_ERR, "DATA-TRACE: matching <%s %zu> with trie id %d - matched %d", domain.string, doma… in necp_socket_check_policy()
10299NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy <so %llx>: (Application %d Real Application %d Bound… in necp_socket_find_policy_match_with_info_locked()
10307NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy <so %llx>: (Application %d Real Application %d Bound… in necp_socket_find_policy_match_with_info_locked()
10334NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy <so %llx>: (Application %d Real Application %d Bound… in necp_socket_find_policy_match_with_info_locked()
10357NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy <so %llx>: (Application %d Real Application %d Bound… in necp_socket_find_policy_match_with_info_locked()
10378NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy <so %llx>: (Application %d Real Application %d Bound… in necp_socket_find_policy_match_with_info_locked()
10390NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy <so %llx>: (Application %d Real Application %d Bound… in necp_socket_find_policy_match_with_info_locked()
10405NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy <so %llx>: MATCHED SKIP POLICY (Application %d Real … in necp_socket_find_policy_match_with_info_locked()
10588NECPLOG(LOG_ERR, "DATA-TRACE: Socket Policy: <so %llx> Triggering inactive agent (%d), error %d", … in necp_socket_verify_netagents()
10717NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy - INP UPDATE - RESULT - CACHED <MATCHED>: %p (BoundI… in necp_socket_find_policy_match()
10792NECPLOG(LOG_ERR, "DATA-TRACE: Socket Policy: <so %llx> (BoundInterface %d Proto %d) Dropping packe… in necp_socket_find_policy_match()
10862 NECPLOG(LOG_ERR, "Marking socket in state %d as defunct", so->so_state); in necp_socket_find_policy_match()
10872NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy: <so %llx> (BoundInterface %d Proto %d) Policy %d Sk… in necp_socket_find_policy_match()
11492NECPLOG(LOG_DEBUG, "DATA-TRACE: IP Output: RESULT - MATCHED (ID %d BoundInterface %d LastInterface… in necp_ip_output_find_policy_match()
11519NECPLOG(LOG_DEBUG, "DATA-TRACE: IP Output: RESULT - NO MATCH (ID %d BoundInterface %d LastInterfac… in necp_ip_output_find_policy_match()
11665NECPLOG(LOG_DEBUG, "DATA-TRACE: IP6 Output: RESULT - MATCHED (ID %d BoundInterface %d LastInterfac… in necp_ip6_output_find_policy_match()
11692NECPLOG(LOG_DEBUG, "DATA-TRACE: IP6 Output: RESULT - NO MATCH (ID %d BoundInterface %d LastInterfa… in necp_ip6_output_find_policy_match()
11997 NECPLOG(LOG_DEBUG, "QoS Marking : Interface match %d for Rule %d Allowed %d", in necp_update_qos_marking()
12014NECPLOG(LOG_DEBUG, "QoS Marking: C:%d WF:%d W:%d E:%d Cn:%d Cmpn:%d VPN:%d UlCn:%d for Rule %d All… in necp_update_qos_marking()
12023 NECPLOG(LOG_DEBUG, "QoS Marking: Rule %d ifp %s Allowed %d", in necp_update_qos_marking()
12166NECPLOG(LOG_DEBUG, "Route Allowed: No interface for route, using default for Rule %d Allowed %d", … in necp_route_is_allowed_inner()
12181 NECPLOG(LOG_DEBUG, "Route Allowed: Interface match %d for Rule %d Deny LQM Abort", in necp_route_is_allowed_inner()
12187NECPLOG(LOG_DEBUG, "Route Allowed: Interface match %d for Rule %d Allowed %d", route_rule->excepti… in necp_route_is_allowed_inner()
12379NECPLOG(LOG_DEBUG, "Route Allowed: C:%d WF:%d W:%d E:%d Cmpn:%d VPN:%d for Rule %d Allowed %d", ro… in necp_route_is_allowed_inner()
12385NECPLOG(LOG_DEBUG, "Route Allowed: Using default for Rule %d Allowed %d", route_rule_id, default_i… in necp_route_is_allowed_inner()
12470NECPLOG(LOG_DEBUG, "Route Allowed: no route or interface, Rule %d Allowed %d", route_rule_id, TRUE… in necp_route_is_allowed()
13030NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy - Send/Recv - RESULT - CACHED <MATCHED>: %p (BoundIn… in necp_socket_is_allowed_to_send_recv_internal()
13109NECPLOG(LOG_ERR, "DATA-TRACE: Socket Policy: <so %llx> (BoundInterface %d Proto %d) Dropping packe… in necp_socket_is_allowed_to_send_recv_internal()
13195NECPLOG(LOG_DEBUG, "DATA-TRACE: Socket Policy - Send/Recv: %p (BoundInterface %d Proto %d) Policy … in necp_socket_is_allowed_to_send_recv_internal()
13941 NECPLOG(LOG_ERR, "%s (process %s:%u) not permitted", __func__, proc_best_name(p), pid);
13945NECPLOG(LOG_ERR, "%s (process %s:%u) bad newlen %lu", __func__, proc_best_name(p), pid, req->newle…
13952NECPLOG(LOG_ERR, "%s (process %s:%u) sysctl_io_opaque() error %d", __func__, proc_best_name(p), pi…
13963NECPLOG(LOG_ERR, "%s (process %s:%u) bad entry_count %u", __func__, proc_best_name(p), pid, tmp_dr…
13973NECPLOG(LOG_ERR, "%s (process %s:%u) NECP_SESSION_PRIORITY_UNKNOWN bad entry_count %u", __func__, …
13989NECPLOG(LOG_ERR, "%s (process %s:%u) priority %u entry_count 0", __func__, proc_best_name(p), pid,…
13994NECPLOG(LOG_ERR, "%s (process %s:%u) bad level %u", __func__, proc_best_name(p), pid, tmp_drop_des…
14002NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad prefix %u", __func__, proc_best_name(p), pid, npc…
14006NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad sin_len %u", __func__, proc_best_name(p), pid, np…
14010NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET bad sin_port %u, not zero", __func__, proc_best_name(…
14017NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad prefix %u", __func__, proc_best_name(p), pid, np…
14021NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_len %u", __func__, proc_best_name(p), pid, …
14025NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_port %u, not zero", __func__, proc_best_nam…
14029NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_flowinfo %u, not zero", __func__, proc_best…
14033NECPLOG(LOG_ERR, "%s (process %s:%u) AF_INET6 bad sin6_scope_id %u, not zero", __func__, proc_best…