Lines Matching refs:test_payload
141 uint8_t test_payload[2 * MCTP_BTU]; in mctp_core_test_simple_rx() local
144 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_simple_rx()
154 receive_two_fragment_message(binding, test_payload, MCTP_BTU, MCTP_BTU, in mctp_core_test_simple_rx()
169 static uint8_t test_payload[MAX_PAYLOAD_SIZE]; in mctp_core_test_receive_equal_length_fragments() local
174 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_receive_equal_length_fragments()
186 receive_one_fragment(binding, test_payload, MCTP_BTU, flags_seq_tag, in mctp_core_test_receive_equal_length_fragments()
190 receive_one_fragment(binding, test_payload + MCTP_BTU, MCTP_BTU, in mctp_core_test_receive_equal_length_fragments()
195 receive_one_fragment(binding, test_payload + (2 * MCTP_BTU), MCTP_BTU, in mctp_core_test_receive_equal_length_fragments()
210 static uint8_t test_payload[MAX_PAYLOAD_SIZE]; in mctp_core_test_receive_unexpected_smaller_middle_fragment() local
215 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_receive_unexpected_smaller_middle_fragment()
227 receive_one_fragment(binding, test_payload, MCTP_BTU, flags_seq_tag, in mctp_core_test_receive_unexpected_smaller_middle_fragment()
231 receive_one_fragment(binding, test_payload + MCTP_BTU, MCTP_BTU - 1, in mctp_core_test_receive_unexpected_smaller_middle_fragment()
236 receive_one_fragment(binding, test_payload + (2 * MCTP_BTU), MCTP_BTU, in mctp_core_test_receive_unexpected_smaller_middle_fragment()
250 static uint8_t test_payload[MAX_PAYLOAD_SIZE]; in mctp_core_test_receive_unexpected_bigger_middle_fragment() local
255 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_receive_unexpected_bigger_middle_fragment()
267 receive_one_fragment(binding, test_payload, MCTP_BTU, flags_seq_tag, in mctp_core_test_receive_unexpected_bigger_middle_fragment()
271 receive_one_fragment(binding, test_payload + MCTP_BTU, MCTP_BTU + 1, in mctp_core_test_receive_unexpected_bigger_middle_fragment()
276 receive_one_fragment(binding, test_payload + (2 * MCTP_BTU), MCTP_BTU, in mctp_core_test_receive_unexpected_bigger_middle_fragment()
290 static uint8_t test_payload[MAX_PAYLOAD_SIZE]; in mctp_core_test_receive_smaller_end_fragment() local
296 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_receive_smaller_end_fragment()
307 receive_one_fragment(binding, test_payload, MCTP_BTU, flags_seq_tag, in mctp_core_test_receive_smaller_end_fragment()
311 receive_one_fragment(binding, test_payload + MCTP_BTU, MCTP_BTU, in mctp_core_test_receive_smaller_end_fragment()
316 receive_one_fragment(binding, test_payload + (2 * MCTP_BTU), in mctp_core_test_receive_smaller_end_fragment()
332 static uint8_t test_payload[MAX_PAYLOAD_SIZE]; in mctp_core_test_receive_bigger_end_fragment() local
338 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_receive_bigger_end_fragment()
349 receive_one_fragment(binding, test_payload, MCTP_BTU, flags_seq_tag, in mctp_core_test_receive_bigger_end_fragment()
353 receive_one_fragment(binding, test_payload + MCTP_BTU, MCTP_BTU, in mctp_core_test_receive_bigger_end_fragment()
358 receive_one_fragment(binding, test_payload + (2 * MCTP_BTU), in mctp_core_test_receive_bigger_end_fragment()
372 static uint8_t test_payload[MAX_PAYLOAD_SIZE]; in mctp_core_test_drop_large_fragments() local
375 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_drop_large_fragments()
387 receive_two_fragment_message(binding, test_payload, MCTP_BTU, in mctp_core_test_drop_large_fragments()
402 static uint8_t test_payload[MAX_PAYLOAD_SIZE]; in mctp_core_test_exhaust_context_buffers() local
409 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_exhaust_context_buffers()
422 receive_one_fragment(binding, test_payload, MCTP_BTU, in mctp_core_test_exhaust_context_buffers()
431 receive_two_fragment_message(binding, test_payload, MCTP_BTU, MCTP_BTU, in mctp_core_test_exhaust_context_buffers()
441 receive_one_fragment(binding, test_payload, MCTP_BTU, flags_seq_tag, in mctp_core_test_exhaust_context_buffers()
456 static uint8_t test_payload[MCTP_BTU]; in mctp_core_test_rx_with_tag() local
461 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_rx_with_tag()
476 receive_one_fragment(binding, test_payload, MCTP_BTU, flags_seq_tag, in mctp_core_test_rx_with_tag()
493 static uint8_t test_payload[MCTP_BTU]; in mctp_core_test_rx_with_tag_multifragment() local
498 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_rx_with_tag_multifragment()
514 receive_one_fragment(binding, test_payload, MCTP_BTU, flags_seq_tag, in mctp_core_test_rx_with_tag_multifragment()
519 receive_one_fragment(binding, test_payload, MCTP_BTU, flags_seq_tag, in mctp_core_test_rx_with_tag_multifragment()
525 receive_one_fragment(binding, test_payload, MCTP_BTU, flags_seq_tag, in mctp_core_test_rx_with_tag_multifragment()
549 uint8_t test_payload[2 * MCTP_BTU]; in mctp_core_test_rx_with_null_dst_eid() local
552 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_rx_with_null_dst_eid()
562 receive_two_fragment_message(binding, test_payload, MCTP_BTU, MCTP_BTU, in mctp_core_test_rx_with_null_dst_eid()
582 uint8_t test_payload[2 * MCTP_BTU]; in mctp_core_test_rx_with_broadcast_dst_eid() local
585 memset(test_payload, 0, sizeof(test_payload)); in mctp_core_test_rx_with_broadcast_dst_eid()
595 receive_two_fragment_message(binding, test_payload, MCTP_BTU, MCTP_BTU, in mctp_core_test_rx_with_broadcast_dst_eid()