Searched refs:test_payload (Results 1 – 2 of 2) sorted by relevance
/openbmc/libmctp/tests/ |
H A D | test_core.c | 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() [all …]
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | psock_tpacket.c | 124 static void test_payload(void *pay, size_t len) in test_payload() function 245 test_payload((uint8_t *) ppd.raw + ppd.v1->tp_h.tp_mac, in walk_v1_v2_rx() 251 test_payload((uint8_t *) ppd.raw + ppd.v2->tp_h.tp_mac, in walk_v1_v2_rx() 483 test_payload(packet, ret); in walk_tx() 562 test_payload((uint8_t *) ppd + ppd->tp_mac, ppd->tp_snaplen); in __v3_walk_block()
|