Lines Matching refs:ut_assert
283 ut_assert(arp_is_waiting()); in sb_check_arp_reply()
288 ut_assert(eth->et_protlen == htons(PROT_ARP)); in sb_check_arp_reply()
290 ut_assert(arp->ar_hrd == htons(ARP_ETHER)); in sb_check_arp_reply()
291 ut_assert(arp->ar_pro == htons(PROT_IP)); in sb_check_arp_reply()
292 ut_assert(arp->ar_hln == ARP_HLEN); in sb_check_arp_reply()
293 ut_assert(arp->ar_pln == ARP_PLEN); in sb_check_arp_reply()
295 ut_assert(net_read_ip(&arp->ar_spa).s_addr == net_ip.s_addr); in sb_check_arp_reply()
297 ut_assert(net_read_ip(&arp->ar_tpa).s_addr == in sb_check_arp_reply()
374 ut_assert(arp_is_waiting()); in sb_check_ping_reply()
379 ut_assert(eth->et_protlen == htons(PROT_IP)); in sb_check_ping_reply()
381 ut_assert(net_read_ip(&ip->ip_src).s_addr == net_ip.s_addr); in sb_check_ping_reply()
382 ut_assert(net_read_ip(&ip->ip_dst).s_addr == in sb_check_ping_reply()