Lines Matching refs:mesh_network_pdu_t

78 …_higher_layer_handler)(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd…
79 …proxy_message_handler)(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd…
112 static mesh_network_pdu_t * incoming_pdu_raw;
113 static mesh_network_pdu_t * incoming_pdu_decoded;
122 static mesh_network_pdu_t * outgoing_pdu;
128 static mesh_network_pdu_t * gatt_bearer_network_pdu;
135 static mesh_network_pdu_t * adv_bearer_network_pdu;
152 static uint32_t mesh_network_cache_hash(mesh_network_pdu_t * network_pdu){ in mesh_network_cache_hash()
241 static void mesh_network_create_nonce(uint8_t * nonce, const mesh_network_pdu_t * pdu, uint32_t iv_… in mesh_network_create_nonce()
251 static void mesh_proxy_create_nonce(uint8_t * nonce, const mesh_network_pdu_t * pdu, uint32_t iv_in… in mesh_proxy_create_nonce()
264 static void mesh_network_send_complete(mesh_network_pdu_t * network_pdu){ in mesh_network_send_complete()
298 mesh_network_pdu_t * network_pdu = outgoing_pdu; in mesh_network_send_c()
357 mesh_network_pdu_t * network_pdu = outgoing_pdu; in mesh_network_send_a()
402 static void mesh_network_relay_message(mesh_network_pdu_t * network_pdu){ in mesh_network_relay_message()
427 void mesh_network_message_processed_by_higher_layer(mesh_network_pdu_t * network_pdu){ in mesh_network_message_processed_by_higher_layer()
540 mesh_network_pdu_t * decoded_pdu = incoming_pdu_decoded; in process_network_pdu_validate_d()
586 mesh_network_pdu_t * decoded_pdu = incoming_pdu_decoded; in process_network_pdu_validate_d()
595 static uint32_t iv_index_for_pdu(const mesh_network_pdu_t * network_pdu){ in iv_index_for_pdu()
708mesh_network_pdu_t * network_pdu = (mesh_network_pdu_t *) btstack_linked_list_pop(&network_pdus_ou… in mesh_network_run_gatt()
740mesh_network_pdu_t * network_pdu = (mesh_network_pdu_t *) btstack_linked_list_pop(&network_pdus_ou… in mesh_network_run_gatt()
759mesh_network_pdu_t * network_pdu = (mesh_network_pdu_t *) btstack_linked_list_pop(&network_pdus_ou… in mesh_network_run_adv()
790mesh_network_pdu_t * network_pdu = (mesh_network_pdu_t *) btstack_linked_list_pop(&network_pdus_ou… in mesh_network_run_adv()
812 incoming_pdu_raw = (mesh_network_pdu_t *) btstack_linked_list_pop(&network_pdus_received); in mesh_network_run_received()
828 outgoing_pdu = (mesh_network_pdu_t *) btstack_linked_list_pop(&network_pdus_queued); in mesh_network_run_queued()
852 mesh_network_pdu_t * network_pdu; in mesh_adv_bearer_handle_network_event()
1011 …void (*packet_handler)(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd… in mesh_network_set_higher_layer_handler()
1015 …void (*packet_handler)(mesh_network_callback_type_t callback_type, mesh_network_pdu_t * network_pd… in mesh_network_set_proxy_message_handler()
1024 mesh_network_pdu_t * network_pdu = mesh_network_pdu_get(); in mesh_network_received_message()
1043 mesh_network_pdu_t * network_pdu = mesh_network_pdu_get(); in mesh_network_process_proxy_configuration_message()
1056 void mesh_network_send_pdu(mesh_network_pdu_t * network_pdu){ in mesh_network_send_pdu()
1079 void mesh_network_encrypt_proxy_configuration_message(mesh_network_pdu_t * network_pdu){ in mesh_network_encrypt_proxy_configuration_message()
1101 void mesh_network_setup_pdu(mesh_network_pdu_t * network_pdu, uint16_t netkey_index, uint8_t nid, u… in mesh_network_setup_pdu()
1131 void mesh_network_setup_pdu_header(mesh_network_pdu_t * network_pdu, uint16_t netkey_index, uint8_t… in mesh_network_setup_pdu_header()
1144 uint8_t mesh_network_nid(mesh_network_pdu_t * network_pdu){ in mesh_network_nid()
1147 uint16_t mesh_network_control(mesh_network_pdu_t * network_pdu){ in mesh_network_control()
1150 uint8_t mesh_network_ttl(mesh_network_pdu_t * network_pdu){ in mesh_network_ttl()
1153 uint32_t mesh_network_seq(mesh_network_pdu_t * network_pdu){ in mesh_network_seq()
1156 uint16_t mesh_network_src(mesh_network_pdu_t * network_pdu){ in mesh_network_src()
1159 uint16_t mesh_network_dst(mesh_network_pdu_t * network_pdu){ in mesh_network_dst()
1162 int mesh_network_segmented(mesh_network_pdu_t * network_pdu){ in mesh_network_segmented()
1165 uint8_t mesh_network_control_opcode(mesh_network_pdu_t * network_pdu){ in mesh_network_control_opcode()
1168 uint8_t * mesh_network_pdu_data(mesh_network_pdu_t * network_pdu){ in mesh_network_pdu_data()
1171 uint8_t mesh_network_pdu_len(mesh_network_pdu_t * network_pdu){ in mesh_network_pdu_len()
1175 void mesh_network_pdu_set_seq(mesh_network_pdu_t * network_pdu, uint32_t seq){ in mesh_network_pdu_set_seq()
1179 static void mesh_network_dump_network_pdu(mesh_network_pdu_t * network_pdu){ in mesh_network_dump_network_pdu()
1189mesh_network_pdu_t * network_pdu = (mesh_network_pdu_t*) btstack_linked_list_iterator_next(&it); in mesh_network_dump_network_pdus()
1195 mesh_network_pdu_t * pdu = (mesh_network_pdu_t *) btstack_linked_list_pop(list); in mesh_network_reset_network_pdus()
1258 mesh_network_pdu_t * mesh_network_pdu_get(void){ in mesh_network_pdu_get()
1259 mesh_network_pdu_t * network_pdu = btstack_memory_mesh_network_pdu_get(); in mesh_network_pdu_get()
1261 memset(network_pdu, 0, sizeof(mesh_network_pdu_t)); in mesh_network_pdu_get()
1267 void mesh_network_pdu_free(mesh_network_pdu_t * network_pdu){ in mesh_network_pdu_free()