Lines Matching refs:nil_pcb

126 static struct flow_divert_pcb           nil_pcb;  variable
251 FDLOG0(LOG_ERR, &nil_pcb, "No active groups, flow divert cannot be used for this socket"); in flow_divert_pcb_insert()
258 …FDLOG(LOG_ERR, &nil_pcb, "Group for control unit %u is NULL, flow divert cannot be used for this s… in flow_divert_pcb_insert()
322 new_pcb->log_level = nil_pcb.log_level; in flow_divert_pcb_create()
397 FDLOG(LOG_ERR, &nil_pcb, "failed to append the type (%d)", type); in flow_divert_packet_append_tlv()
403 FDLOG(LOG_ERR, &nil_pcb, "failed to append the length (%u)", length); in flow_divert_packet_append_tlv()
409 FDLOG0(LOG_ERR, &nil_pcb, "failed to append the value"); in flow_divert_packet_append_tlv()
475 …FDLOG(LOG_ERR, &nil_pcb, "Length of %u TLV (%u) is larger than remaining packet data (%lu)", type,… in flow_divert_packet_get_tlv()
569 FDLOG0(LOG_WARNING, &nil_pcb, "HMAC in token does not match computed HMAC"); in flow_divert_packet_verify_hmac()
768 FDLOG0(LOG_ERR, &nil_pcb, "Ran out of trie nodes while splitting an existing node"); in flow_divert_trie_insert()
785 FDLOG0(LOG_ERR, &nil_pcb, "Ran out of child maps while splitting an existing node"); in flow_divert_trie_insert()
817 FDLOG0(LOG_ERR, &nil_pcb, "Ran out of trie nodes while inserting a new leaf"); in flow_divert_trie_insert()
823 FDLOG0(LOG_ERR, &nil_pcb, "Ran out of bytes while inserting a new leaf"); in flow_divert_trie_insert()
832 FDLOG0(LOG_ERR, &nil_pcb, "Ran out of child maps while inserting a new leaf"); in flow_divert_trie_insert()
898 …FDLOG(LOG_WARNING, &nil_pcb, "Found multiple processes with UUID %s with different signing identif… in flow_divert_find_proc_by_uuid_callout()
907 FDLOG(LOG_WARNING, &nil_pcb, "Failed to find a process with UUID %s", uuid_str); in flow_divert_find_proc_by_uuid_callout()
927 …FDLOG(LOG_INFO, &nil_pcb, "Found process %d with signing identifier %s", proc_getpid(p), signing_i… in flow_divert_find_proc_by_uuid_filter()
949 if (LOG_INFO <= nil_pcb.log_level) { in flow_divert_find_proc_by_uuid()
952 FDLOG(LOG_INFO, &nil_pcb, "Looking for process with UUID %s", uuid_str); in flow_divert_find_proc_by_uuid()
2732 FDLOG(LOG_ERR, &nil_pcb, "failed to get the key size: %d", error); in flow_divert_handle_group_init()
2737 FDLOG(LOG_ERR, &nil_pcb, "Invalid key size: %u", key_size); in flow_divert_handle_group_init()
2743 nil_pcb.log_level = (uint8_t)log_level; in flow_divert_handle_group_init()
2756 FDLOG(LOG_ERR, &nil_pcb, "failed to get the token key: %d", error); in flow_divert_handle_group_init()
2863 …FDLOG(LOG_ERR, &nil_pcb, "Invalid prefix count (%d) or an error occurred while reading the prefix … in flow_divert_handle_app_map_create()
2875 …FDLOG(LOG_ERR, &nil_pcb, "Failed to get the length of the signing identifier at offset %d: %d", cu… in flow_divert_handle_app_map_create()
2880 FDLOG0(LOG_ERR, &nil_pcb, "Overflow while incrementing number of bytes"); in flow_divert_handle_app_map_create()
2889 FDLOG0(LOG_NOTICE, &nil_pcb, "No signing identifiers"); in flow_divert_handle_app_map_create()
2895 FDLOG0(LOG_ERR, &nil_pcb, "Overflow while computing the number of nodes"); in flow_divert_handle_app_map_create()
2901 FDLOG0(LOG_ERR, &nil_pcb, "Overflow while computing the number of maps"); in flow_divert_handle_app_map_create()
2907 …FDLOG(LOG_NOTICE, &nil_pcb, "Invalid bytes count (%lu), nodes count (%lu) or maps count (%lu)", by… in flow_divert_handle_app_map_create()
2911 FDLOG(LOG_INFO, &nil_pcb, "Nodes count = %lu, child maps count = %lu, bytes_count = %lu", in flow_divert_handle_app_map_create()
2918 FDLOG0(LOG_ERR, &nil_pcb, "Overflow while computing trie memory sizes"); in flow_divert_handle_app_map_create()
2924 …FDLOG(LOG_ERR, &nil_pcb, "Trie memory size (%lu) is too big (maximum is %u)", trie_memory_size, FL… in flow_divert_handle_app_map_create()
2931 FDLOG(LOG_ERR, &nil_pcb, "Failed to allocate %lu bytes of memory for the signing ID trie", in flow_divert_handle_app_map_create()
2964 …FDLOG(LOG_ERR, &nil_pcb, "Failed to get the length of the signing identifier at offset %d while bu… in flow_divert_handle_app_map_create()
2972 … FDLOG(LOG_ERR, &nil_pcb, "Failed to read the signing identifier at offset %d: %d", cursor, error); in flow_divert_handle_app_map_create()
2982 FDLOG0(LOG_ERR, &nil_pcb, "No place to put signing ID for insertion"); in flow_divert_handle_app_map_create()
3005 …FDLOG(LOG_ERR, &nil_pcb, "got a bad packet, length (%lu) < sizeof hdr (%lu)", mbuf_pkthdr_len(pack… in flow_divert_input()
3011 …FDLOG(LOG_ERR, &nil_pcb, "got a bad packet, length (%lu) > %d", mbuf_pkthdr_len(packet), FD_CTL_RC… in flow_divert_input()
3018 FDLOG(LOG_ERR, &nil_pcb, "mbuf_copydata failed for the header: %d", error); in flow_divert_input()
3034 FDLOG(LOG_WARNING, &nil_pcb, "got an unknown message type: %d", hdr.packet_type); in flow_divert_input()
3043 …FDLOG(LOG_NOTICE, &nil_pcb, "got a %s message from group %d for an unknown pcb: %u", flow_divert_p… in flow_divert_input()
3221 …FDLOG(LOG_ERR, &nil_pcb, "Invalid target address, family = %u, length = %u", toaddr->sa_family, to… in flow_divert_append_target_endpoint_tlv()
3885 FDLOG(LOG_ERR, &nil_pcb, "flow_divert_init failed (%d), cannot use flow divert", g_init_result); in flow_divert_token_set()
3924 FDLOG(LOG_ERR, &nil_pcb, "Failed to get the key unit from the token: %d", error); in flow_divert_token_set()
3932 FDLOG(LOG_ERR, &nil_pcb, "Failed to get the control socket unit from the token: %d", error); in flow_divert_token_set()
3938 FDLOG(LOG_ERR, &nil_pcb, "Failed to get the aggregate unit from the token: %d", error); in flow_divert_token_set()
3952 FDLOG(LOG_ERR, &nil_pcb, "HMAC verfication failed: %d", hmac_error); in flow_divert_token_set()
4148 FDLOG(LOG_INFO, &nil_pcb, "disconnecting group %d", unit); in flow_divert_kctl_disconnect()
4223 FDLOG0(LOG_DEBUG, &nil_pcb, "trying ctl_enqueuembuf again"); in flow_divert_kctl_rcvd()
4227 FDLOG(LOG_DEBUG, &nil_pcb, "ctl_enqueuembuf returned an error: %d", error); in flow_divert_kctl_rcvd()
4284 FDLOG(LOG_ERR, &nil_pcb, "flow_divert_kctl_init - ctl_register failed: %d\n", result); in flow_divert_kctl_init()
4294 memset(&nil_pcb, 0, sizeof(nil_pcb)); in flow_divert_init()
4295 nil_pcb.log_level = LOG_NOTICE; in flow_divert_init()