Lines Matching refs:fail_if
204 fail_if((pos + len) > p->tot_len); in check_pkt()
209 fail_if(p == NULL); in check_pkt()
213 …fail_if(memcmp(&data[pos], mem, len), "data at pos %d, len %d in packet %d did not match", pos, le… in check_pkt()
222 fail_if((startpos + len) > p->tot_len); in check_pkt_fuzzy()
227 fail_if(p == NULL); in check_pkt_fuzzy()
462 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
463 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST()
464 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST()
493 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
494 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST()
495 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST()
535 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
536 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST()
537 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST()
754 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
755 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST()
756 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST()
781 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
782 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST()
783 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST()
903 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
904 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST()
905 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST()
1009 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
1010 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST()
1011 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST()
1017 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
1018 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST()
1019 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST()
1025 fail_if(memcmp(&addr, &net_test.ip_addr, sizeof(ip4_addr_t))); in START_TEST()
1026 fail_if(memcmp(&netmask, &net_test.netmask, sizeof(ip4_addr_t))); in START_TEST()
1027 fail_if(memcmp(&gw, &net_test.gw, sizeof(ip4_addr_t))); in START_TEST()