Home
last modified time | relevance | path

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

/Zephyr-latest/tests/net/net_pkt/src/
Dmain.c88 static bool pkt_is_of_size(struct net_pkt *pkt, size_t size) in pkt_is_of_size() function
146 zassert_true(pkt_is_of_size(pkt, 512), "Pkt size is not right"); in ZTEST()
161 zassert_false(pkt_is_of_size(pkt, 1800), "Pkt size is not right"); in ZTEST()
162 zassert_true(pkt_is_of_size(pkt, net_if_get_mtu(eth_if) + L2_HDR_SIZE), in ZTEST()
178 zassert_true(pkt_is_of_size(pkt, 512 + NET_IPV4UDPH_LEN), in ZTEST()
212 zassert_true(pkt_is_of_size(pkt, NET_IPV4H_LEN), in ZTEST()
227 zassert_true(pkt_is_of_size(pkt, 0), "Pkt size is not right"); in ZTEST()