Searched refs:checknum (Results 1 – 3 of 3) sorted by relevance
/freebsd/tools/regression/netinet6/inet6_rth/ |
H A D | inet6_rth-segments.c | 125 checknum(127, ((struct ip6_rthdr0 *)buf)->ip6r0_segleft, 0, in test_rth_add() 130 checknum(-1, ret, 0, "add 128th segment to 127 segment header\0"); in test_rth_add() 150 checknum(-1, seg, 0, "invalid routing header type\0"); in test_rth_segments() 158 checknum(0, seg, 0, "0 segments\0"); in test_rth_segments() 166 checknum(127, seg, 0, "127 segments\0"); in test_rth_segments() 201 checknum(0, len, 0, "invalid routing header type\0"); in test_rth_space() 207 checknum(0, len, 1, "0 segments\0"); in test_rth_space() 209 checknum(0, len, 1, "0 segments\0"); in test_rth_space() 215 checknum(0, len, 0, "-1 segments\0"); in test_rth_space() 217 checknum(0, len, 0, "128 segments\0"); in test_rth_space()
|
H A D | test_subr.h | 42 void checknum(int, int, int, const char *);
|
H A D | test_subr.c | 120 checknum(int expected, int got, int cmp, const char *desc) in checknum() function
|