X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=o-du%2Fphy.git;a=blobdiff_plain;f=fhi_lib%2Ftest%2Ftest_xran%2Fu_plane_functional.cc;fp=fhi_lib%2Ftest%2Ftest_xran%2Fu_plane_functional.cc;h=5bc1588192e0c3760c360f126a65ee5e876fab5b;hp=5dba3885ff2fd2679ad98b47e343676dc761f576;hb=70d9d920dd4e575f085f1f1a9050fefd1c10e127;hpb=331df2273a6667941167c9bcc141a517369bdf43 diff --git a/fhi_lib/test/test_xran/u_plane_functional.cc b/fhi_lib/test/test_xran/u_plane_functional.cc index 5dba388..5bc1588 100644 --- a/fhi_lib/test/test_xran/u_plane_functional.cc +++ b/fhi_lib/test/test_xran/u_plane_functional.cc @@ -16,7 +16,6 @@ * *******************************************************************************/ - #include "common.hpp" #include "xran_common.h" #include "xran_up_api.h" @@ -44,7 +43,7 @@ protected: return; } iq_offset = rte_pktmbuf_mtod(test_buffer, char * ); - iq_offset = iq_offset + sizeof(struct ether_hdr) + + iq_offset = iq_offset + sizeof(struct rte_ether_hdr) + sizeof (struct xran_ecpri_hdr) + sizeof (struct radio_app_common_hdr) + sizeof(struct data_section_hdr); @@ -107,10 +106,10 @@ TEST_P(U_planeCheck, Test_DLUL) pChar = rte_pktmbuf_mtod(test_buffer, char*); - ecpri_hdr = (struct xran_ecpri_hdr *)(pChar + sizeof(struct ether_hdr)); - app_hdr = (struct radio_app_common_hdr *)(pChar + sizeof(struct ether_hdr) + ecpri_hdr = (struct xran_ecpri_hdr *)(pChar + sizeof(struct rte_ether_hdr)); + app_hdr = (struct radio_app_common_hdr *)(pChar + sizeof(struct rte_ether_hdr) + sizeof (struct xran_ecpri_hdr)); - section_hdr = (struct data_section_hdr *)(pChar + sizeof(struct ether_hdr) + + section_hdr = (struct data_section_hdr *)(pChar + sizeof(struct rte_ether_hdr) + sizeof (struct xran_ecpri_hdr) + sizeof(struct radio_app_common_hdr));