MCPcopy Create free account
hub / github.com/F-Stack/f-stack / pdcp_test_auth_key_get

Function pdcp_test_auth_key_get

dpdk/app/test/test_pdcp.c:774–792  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

772}
773
774static const uint8_t*
775pdcp_test_auth_key_get(enum pdcp_test_suite_type suite_type, const int index)
776{
777 const uint8_t *ret;
778
779 switch (suite_type) {
780 case PDCP_TEST_SUITE_TY_BASIC:
781 ret = pdcp_test_auth_key[index];
782 break;
783 case PDCP_TEST_SUITE_TY_SDAP:
784 ret = list_pdcp_sdap_tests[index].auth_key;
785 break;
786 default:
787 RTE_LOG(ERR, USER1, "Invalid suite_type: %d\n", suite_type);
788 return NULL;
789 }
790
791 return ret;
792}
793
794static const uint8_t*
795pdcp_test_data_in_get(enum pdcp_test_suite_type suite_type, const int index)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected