Home
last modified time | relevance | path

Searched refs:nexpected (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/selftests/net/tcp_ao/
H A Dsetsockopt-closed.c872 static int compare_mkts(struct tcp_ao_getsockopt *expected, int nexpected, in compare_mkts() argument
877 for (int i = 0; i < nexpected; i++) { in compare_mkts()
884 return nexpected - matches; in compare_mkts()
889 unsigned int nexpected, const char *tst) in filter_keys_checked() argument
900 if (filtered_keys[0].nkeys != nexpected) { in filter_keys_checked()
901 test_fail("wrong nr of keys, expected %u got %u", nexpected, in filter_keys_checked()
905 if (compare_mkts(expected, nexpected, filtered_keys, in filter_keys_checked()