Lines Matching refs:total_len

1040 		size_t total_len = net_pkt_get_len(pkt);  in verify_fragment()  local
1042 total_len -= sizeof(struct net_ipv6_hdr); in verify_fragment()
1044 ipv6_first_frag[4] = total_len / 256; in verify_fragment()
1045 ipv6_first_frag[5] = total_len - in verify_fragment()
1048 if ((total_len / 256) != pkt->buffer->data[4]) { in verify_fragment()
1053 if ((total_len - pkt->buffer->data[4] * 256U) != in verify_fragment()
1072 pkt_recv_data_len += total_len - 8 /* HBHO */ - in verify_fragment()
1092 size_t total_len = net_pkt_get_len(pkt); in verify_fragment() local
1094 total_len -= sizeof(struct net_ipv6_hdr); in verify_fragment()
1096 ipv6_second_frag[4] = total_len / 256; in verify_fragment()
1097 ipv6_second_frag[5] = total_len - in verify_fragment()
1100 if ((total_len / 256) != pkt->buffer->data[4]) { in verify_fragment()
1105 if ((total_len - pkt->buffer->data[4] * 256U) != in verify_fragment()
1126 pkt_recv_data_len += total_len - 8 /* HBHO */ - 8 /* UDP */ - in verify_fragment()
1973 size_t total_len; in ZTEST() local
2004 total_len = net_pkt_get_len(pkt) - sizeof(struct net_ipv6_hdr); in ZTEST()
2007 total_len, net_pkt_ipv6_ext_len(pkt), pkt_data_len); in ZTEST()
2009 zassert_equal(total_len - net_pkt_ipv6_ext_len(pkt) - 8, pkt_data_len, in ZTEST()
2012 NET_IPV6_HDR(pkt)->len = htons(total_len); in ZTEST()
2038 size_t total_len; in ZTEST() local
2058 total_len = net_pkt_get_len(pkt) - sizeof(struct net_ipv6_hdr); in ZTEST()
2061 total_len, net_pkt_ipv6_ext_len(pkt), pkt_data_len); in ZTEST()
2081 size_t total_len; in ZTEST() local
2104 total_len = net_pkt_get_len(pkt) - sizeof(struct net_ipv6_hdr) - in ZTEST()
2108 total_len, net_pkt_ipv6_ext_len(pkt), pkt_data_len); in ZTEST()
2132 size_t total_len; in ZTEST() local
2164 total_len = net_pkt_get_len(pkt) - sizeof(struct net_ipv6_hdr); in ZTEST()
2167 total_len, net_pkt_ipv6_ext_len(pkt), pkt_data_len); in ZTEST()
2169 zassert_equal(total_len - net_pkt_ipv6_ext_len(pkt) - 8, pkt_data_len, in ZTEST()
2172 NET_IPV6_HDR(pkt)->len = htons(total_len); in ZTEST()