Lines Matching refs:subs
49 if (!ossl_assert(pkt->subs != NULL && len != 0)) in WPACKET_reserve_bytes()
110 if ((pkt->subs = OPENSSL_zalloc(sizeof(*pkt->subs))) == NULL) in wpacket_intern_init_len()
116 pkt->subs->pwritten = lenbytes; in wpacket_intern_init_len()
117 pkt->subs->lenbytes = lenbytes; in wpacket_intern_init_len()
120 OPENSSL_free(pkt->subs); in wpacket_intern_init_len()
121 pkt->subs = NULL; in wpacket_intern_init_len()
124 pkt->subs->packet_len = 0; in wpacket_intern_init_len()
202 if (!ossl_assert(pkt->subs != NULL)) in WPACKET_set_flags()
205 pkt->subs->flags = flags; in WPACKET_set_flags()
312 pkt->subs = sub->parent; in wpacket_intern_close()
323 if (!ossl_assert(pkt->subs != NULL)) in WPACKET_fill_lengths()
326 for (sub = pkt->subs; sub != NULL; sub = sub->parent) { in WPACKET_fill_lengths()
340 if (pkt->subs == NULL || pkt->subs->parent == NULL) in WPACKET_close()
343 return wpacket_intern_close(pkt, pkt->subs, 1); in WPACKET_close()
354 if (pkt->subs == NULL || pkt->subs->parent != NULL) in WPACKET_finish()
357 ret = wpacket_intern_close(pkt, pkt->subs, 1); in WPACKET_finish()
359 OPENSSL_free(pkt->subs); in WPACKET_finish()
360 pkt->subs = NULL; in WPACKET_finish()
372 if (!ossl_assert(pkt->subs != NULL)) in WPACKET_start_sub_packet_len__()
382 sub->parent = pkt->subs; in WPACKET_start_sub_packet_len__()
383 pkt->subs = sub; in WPACKET_start_sub_packet_len__()
424 if (!ossl_assert(pkt->subs != NULL)) in WPACKET_set_max_size()
428 for (sub = pkt->subs; sub->parent != NULL; sub = sub->parent) in WPACKET_set_max_size()
500 if (!ossl_assert(pkt->subs != NULL && len != NULL)) in WPACKET_get_length()
503 *len = pkt->written - pkt->subs->pwritten; in WPACKET_get_length()
530 for (sub = pkt->subs; sub != NULL; sub = parent) { in WPACKET_cleanup()
534 pkt->subs = NULL; in WPACKET_cleanup()
549 pkt->subs->flags |= WPACKET_FLAGS_QUIC_VLINT; in WPACKET_start_quic_sub_packet_bound()