Lines Matching refs:tests
174 } tests[] = { in test_ip_frag() local
188 for (i = 0; i < RTE_DIM(tests); i++) { in test_ip_frag()
190 uint16_t pktid = tests[i].pkt_id; in test_ip_frag()
197 if (tests[i].pkt_id == RND_ID) in test_ip_frag()
200 if (tests[i].ipv == 4) { in test_ip_frag()
202 tests[i].pkt_size, in test_ip_frag()
203 tests[i].set_df, in test_ip_frag()
204 tests[i].ttl, in test_ip_frag()
205 tests[i].proto, in test_ip_frag()
207 } else if (tests[i].ipv == 6) { in test_ip_frag()
209 tests[i].pkt_size, in test_ip_frag()
210 tests[i].ttl, in test_ip_frag()
211 tests[i].proto, in test_ip_frag()
215 if (tests[i].ipv == 4) in test_ip_frag()
217 tests[i].mtu_size, in test_ip_frag()
220 else if (tests[i].ipv == 6) in test_ip_frag()
222 tests[i].mtu_size, in test_ip_frag()
232 tests[i].expected_frags); in test_ip_frag()
233 RTE_TEST_ASSERT_EQUAL(len, tests[i].expected_frags, in test_ip_frag()