Home
last modified time | relevance | path

Searched refs:pkt_v4 (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/tests/net/npf/src/
Dmain.c372 struct net_pkt *pkt_v4 = build_test_ip_pkt(&ipv4_address_list[0], &dst, AF_INET, in ZTEST() local
378 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
385 memcpy((struct in_addr *)NET_IPV4_HDR(pkt_v4)->src, &ipv4_address_list[it], in ZTEST()
387 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
391 memcpy((struct in_addr *)NET_IPV4_HDR(pkt_v4)->src, in ZTEST()
393 zassert_false(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
400 zassert_true(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
407 memcpy((struct in_addr *)NET_IPV4_HDR(pkt_v4)->src, &ipv4_address_list[it], in ZTEST()
409 zassert_false(net_pkt_filter_ip_recv_ok(pkt_v4), ""); in ZTEST()
413 memcpy((struct in_addr *)NET_IPV4_HDR(pkt_v4)->src, in ZTEST()
[all …]