Lines Matching refs:pkt_v6
374 struct net_pkt *pkt_v6 = build_test_ip_pkt(&ipv6_address_list[0], &ipv6_address_list[1], in ZTEST() local
379 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
394 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
401 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
418 net_pkt_unref(pkt_v6); in ZTEST()
436 struct net_pkt *pkt_v6 = build_test_ip_pkt(&ipv6_address_list[0], &dst, AF_INET6, in ZTEST() local
443 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
449 memcpy((struct in6_addr *)NET_IPV6_HDR(pkt_v6)->src, in ZTEST()
451 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
455 memcpy((struct in6_addr *)NET_IPV6_HDR(pkt_v6)->src, in ZTEST()
458 zassert_false(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
465 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
471 memcpy((struct in6_addr *)NET_IPV6_HDR(pkt_v6)->src, in ZTEST()
473 zassert_false(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
477 memcpy((struct in6_addr *)NET_IPV4_HDR(pkt_v6)->src, in ZTEST()
479 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v6), ""); in ZTEST()
482 net_pkt_unref(pkt_v6); in ZTEST()