Lines Matching refs:last_hdr_pos

1692 	uint16_t last_hdr_pos = 0U;  in ZTEST()  local
1709 ret = net_ipv6_find_last_ext_hdr(pkt, &next_hdr_pos, &last_hdr_pos); in ZTEST()
1713 zassert_equal(last_hdr_pos, sizeof(struct net_ipv6_hdr), in ZTEST()
1726 uint16_t last_hdr_pos = 0U; in ZTEST() local
1743 ret = net_ipv6_find_last_ext_hdr(pkt, &next_hdr_pos, &last_hdr_pos); in ZTEST()
1748 zassert_equal(last_hdr_pos, sizeof(struct net_ipv6_hdr) + 8, in ZTEST()
1761 uint16_t last_hdr_pos = 0U; in ZTEST() local
1780 ret = net_ipv6_find_last_ext_hdr(pkt, &next_hdr_pos, &last_hdr_pos); in ZTEST()
1784 zassert_equal(last_hdr_pos, 112, "Last header position wrong"); in ZTEST()
1793 net_pkt_skip(pkt, last_hdr_pos); in ZTEST()
1804 uint16_t last_hdr_pos = 0U; in ZTEST() local
1823 ret = net_ipv6_find_last_ext_hdr(pkt, &next_hdr_pos, &last_hdr_pos); in ZTEST()
1827 zassert_equal(last_hdr_pos, 144, "Last header position wrong"); in ZTEST()
1836 net_pkt_skip(pkt, last_hdr_pos); in ZTEST()
1847 uint16_t last_hdr_pos = 0U; in ZTEST() local
1866 ret = net_ipv6_find_last_ext_hdr(pkt, &next_hdr_pos, &last_hdr_pos); in ZTEST()
1870 zassert_equal(last_hdr_pos, 960, "Last header position wrong"); in ZTEST()
1879 net_pkt_skip(pkt, last_hdr_pos); in ZTEST()
1890 uint16_t last_hdr_pos = 0U; in ZTEST() local
1907 ret = net_ipv6_find_last_ext_hdr(pkt, &next_hdr_pos, &last_hdr_pos); in ZTEST()
1912 zassert_equal(last_hdr_pos, sizeof(struct net_ipv6_hdr) + 8 + 8, in ZTEST()
1925 uint16_t last_hdr_pos = 0U; in ZTEST() local
1945 ret = net_ipv6_find_last_ext_hdr(pkt, &next_hdr_pos, &last_hdr_pos); in ZTEST()
1949 zassert_equal(last_hdr_pos, 1080, "Last header position wrong"); in ZTEST()
1958 net_pkt_skip(pkt, last_hdr_pos); in ZTEST()