Lines Matching full:packet
134 * Represents an inclusive range of packet numbers [start, end].
142 * A sequence of packet number ranges [[start, end]...].
149 * As such, ack_ranges[0].end is always the highest packet number
151 * always the lowest packet number being acknowledged.
154 * acknowledge at least one packet number.
177 * runs to the end of the packet.
180 * length. If not set, the frame runs to the end of the packet and len has
234 * Encodes zero or more QUIC PADDING frames to the packet writer. Each PADDING
241 * Encodes a QUIC PING frame to the packet writer. This frame type takes
247 * Encodes a QUIC ACK frame to the packet writer, given a logical representation
252 * The logical representation stores a list of packet number ranges. The wire
265 * Encodes a QUIC RESET_STREAM frame to the packet writer, given a logical
272 * Encodes a QUIC STOP_SENDING frame to the packet writer, given a logical
279 * Encodes a QUIC CRYPTO frame header to the packet writer.
295 * Encodes a QUIC CRYPTO frame to the packet writer.
306 * Encodes a QUIC NEW_TOKEN frame to the packet writer.
313 * Encodes a QUIC STREAM frame's header to the packet writer. The f->stream_id,
321 * in the packet, which the caller is responsible for ensuring; the Length
351 * Encodes a QUIC MAX_DATA frame to the packet writer.
357 * Encodes a QUIC MAX_STREAM_DATA frame to the packet writer.
364 * Encodes a QUIC MAX_STREAMS frame to the packet writer.
375 * Encodes a QUIC DATA_BLOCKED frame to the packet writer.
381 * Encodes a QUIC STREAM_DATA_BLOCKED frame to the packet writer.
387 * Encodes a QUIC STREAMS_BLOCKED frame to the packet writer.
398 * Encodes a QUIC NEW_CONNECTION_ID frame to the packet writer, given a logical
408 * Encodes a QUIC RETIRE_CONNECTION_ID frame to the packet writer.
414 * Encodes a QUIC PATH_CHALLENGE frame to the packet writer.
420 * Encodes a QUIC PATH_RESPONSE frame to the packet writer.
426 * Encodes a QUIC CONNECTION_CLOSE frame to the packet writer, given a logical
438 * Encodes a QUIC HANDSHAKE_DONE frame to the packet writer. This frame type
447 * If value is non-NULL, the value is copied into the packet.
481 * - A frame decode function is called but the frame in the PACKET's buffer
485 * of the PACKET's buffer.
487 * These functions should be called with the PACKET pointing to the start of the
498 int ossl_quic_wire_peek_frame_header(PACKET *pkt, uint64_t *type,
505 int ossl_quic_wire_skip_frame_header(PACKET *pkt, uint64_t *type);
513 * The PACKET is not advanced.
515 int ossl_quic_wire_peek_frame_ack_num_ranges(const PACKET *pkt,
545 int ossl_quic_wire_decode_frame_ack(PACKET *pkt,
553 int ossl_quic_wire_decode_frame_reset_stream(PACKET *pkt,
559 int ossl_quic_wire_decode_frame_stop_sending(PACKET *pkt,
565 * f->data is set to point inside the packet buffer inside the PACKET, therefore
566 * it is safe to access for as long as the packet buffer exists. If nodata is
567 * set to 1 then reading the PACKET stops after the frame header and f->data is
570 int ossl_quic_wire_decode_frame_crypto(PACKET *pkt, int nodata,
577 int ossl_quic_wire_decode_frame_new_token(PACKET *pkt,
584 * If nodata is set to 1 then reading the PACKET stops after the frame header
593 * length does not exceed the packet buffer, thus it is safe to access f->data.
596 * until the end of the packet. This function sets f->has_explicit_len to zero,
598 * this function should be used with a PACKET representing a single packet (and
604 * f->data points inside the packet buffer inside the PACKET, therefore it is
605 * safe to access for as long as the packet buffer exists.
610 int ossl_quic_wire_decode_frame_stream(PACKET *pkt, int nodata,
617 int ossl_quic_wire_decode_frame_max_data(PACKET *pkt,
624 int ossl_quic_wire_decode_frame_max_stream_data(PACKET *pkt,
635 int ossl_quic_wire_decode_frame_max_streams(PACKET *pkt,
642 int ossl_quic_wire_decode_frame_data_blocked(PACKET *pkt,
649 int ossl_quic_wire_decode_frame_stream_data_blocked(PACKET *pkt,
661 int ossl_quic_wire_decode_frame_streams_blocked(PACKET *pkt,
670 * packet buffer; it is therefore valid for as long as the PACKET's buffer is
674 int ossl_quic_wire_decode_frame_new_conn_id(PACKET *pkt,
681 int ossl_quic_wire_decode_frame_retire_conn_id(PACKET *pkt,
687 int ossl_quic_wire_decode_frame_path_challenge(PACKET *pkt,
693 int ossl_quic_wire_decode_frame_path_response(PACKET *pkt,
701 * the packet buffer; it is therefore valid for as long as the PACKET's
709 int ossl_quic_wire_decode_frame_conn_close(PACKET *pkt,
717 size_t ossl_quic_wire_decode_padding(PACKET *pkt);
722 int ossl_quic_wire_decode_frame_ping(PACKET *pkt);
727 int ossl_quic_wire_decode_frame_handshake_done(PACKET *pkt);
733 int ossl_quic_wire_peek_transport_param(PACKET *pkt, uint64_t *id);
737 * returned on success. This points inside the PACKET's buffer and is therefore
738 * valid as long as the PACKET's buffer is valid.
745 const unsigned char *ossl_quic_wire_decode_transport_param_bytes(PACKET *pkt,
755 int ossl_quic_wire_decode_transport_param_int(PACKET *pkt,
765 int ossl_quic_wire_decode_transport_param_cid(PACKET *pkt,
779 int ossl_quic_wire_decode_transport_param_preferred_addr(PACKET *pkt,