Lines Matching refs:zassert_true

69 	zassert_true(size >= sizeof(eth_hdr), "");  in build_test_pkt()
70 zassert_true((size - sizeof(eth_hdr)) <= sizeof(dummy_data), ""); in build_test_pkt()
130 zassert_true(net_pkt_filter_recv_ok(pkt_iface_a), ""); in test_npf_iface()
131 zassert_true(net_pkt_filter_recv_ok(pkt_iface_b), ""); in test_npf_iface()
138 zassert_true(net_pkt_filter_recv_ok(pkt_iface_a), ""); in test_npf_iface()
142 zassert_true(npf_remove_recv_rule(&accept_iface_a), ""); in test_npf_iface()
155 zassert_true(net_pkt_filter_recv_ok(pkt_iface_a), ""); in test_npf_iface()
159 zassert_true(npf_remove_recv_rule(&accept_all_but_iface_b), ""); in test_npf_iface()
160 zassert_true(npf_remove_recv_rule(&npf_default_drop), ""); in test_npf_iface()
163 zassert_true(net_pkt_filter_recv_ok(pkt_iface_a), ""); in test_npf_iface()
164 zassert_true(net_pkt_filter_recv_ok(pkt_iface_b), ""); in test_npf_iface()
187 zassert_true(net_pkt_filter_recv_ok(pkt), ""); in test_npf_example_common()
215 zassert_true(npf_remove_recv_rule(&npf_default_drop), ""); in ZTEST()
216 zassert_true(npf_remove_recv_rule(&small_ip_pkt), ""); in ZTEST()
239 zassert_true(npf_remove_all_recv_rules(), ""); in ZTEST()
269 zassert_true(net_pkt_filter_recv_ok(pkt), ""); in test_npf_eth_mac_address()
277 zassert_true(net_pkt_filter_recv_ok(pkt), ""); in test_npf_eth_mac_address()
278 zassert_true(npf_remove_recv_rule(&accept_unmatched_src_addr), ""); in test_npf_eth_mac_address()
283 zassert_true(net_pkt_filter_recv_ok(pkt), ""); in test_npf_eth_mac_address()
285 zassert_true(net_pkt_filter_recv_ok(pkt), ""); in test_npf_eth_mac_address()
286 zassert_true(npf_remove_recv_rule(&accept_matched_src_addr), ""); in test_npf_eth_mac_address()
288 zassert_true(npf_remove_recv_rule(&accept_unmatched_src_addr), ""); in test_npf_eth_mac_address()
293 zassert_true(net_pkt_filter_recv_ok(pkt), ""); in test_npf_eth_mac_address()
294 zassert_true(npf_remove_recv_rule(&accept_unmatched_dst_addr), ""); in test_npf_eth_mac_address()
299 zassert_true(net_pkt_filter_recv_ok(pkt), ""); in test_npf_eth_mac_address()
301 zassert_true(net_pkt_filter_recv_ok(pkt), ""); in test_npf_eth_mac_address()
302 zassert_true(npf_remove_recv_rule(&accept_matched_dst_addr), ""); in test_npf_eth_mac_address()
304 zassert_true(npf_remove_recv_rule(&accept_unmatched_dst_addr), ""); in test_npf_eth_mac_address()
320 zassert_true(net_pkt_filter_recv_ok(pkt), ""); in test_npf_eth_mac_addr_mask()
328 zassert_true(net_pkt_filter_recv_ok(pkt), ""); in test_npf_eth_mac_addr_mask()
331 zassert_true(npf_remove_all_recv_rules(), ""); in test_npf_eth_mac_addr_mask()
378 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
379 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
387 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
394 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
397 zassert_true(npf_remove_all_ipv4_recv_rules(), ""); in ZTEST()
400 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
401 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
415 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
417 zassert_true(npf_remove_all_ipv4_recv_rules(), ""); in ZTEST()
442 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
443 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
451 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
457 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
461 zassert_true(npf_remove_all_ipv6_recv_rules(), ""); in ZTEST()
464 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
465 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
479 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
481 zassert_true(npf_remove_all_ipv6_recv_rules(), ""); in ZTEST()