Home | History | Annotate | Download | only in quic

Lines Matching refs:frame

29 // Number of bytes reserved for the frame type preceding each frame.
38 // Maximum number of bytes reserved for byte offset in stream frame.
40 // Number of bytes reserved to store payload length in stream frame.
52 // Maximum number of missing packet ranges that can fit within an ack frame.
57 // Maximum number of revived packets that can fit within an ack frame.
118 virtual bool OnStreamFrame(const QuicStreamFrame& frame) = 0;
122 virtual bool OnAckFrame(const QuicAckFrame& frame) = 0;
126 const QuicCongestionFeedbackFrame& frame) = 0;
129 virtual bool OnStopWaitingFrame(const QuicStopWaitingFrame& frame) = 0;
132 virtual bool OnPingFrame(const QuicPingFrame& frame) = 0;
135 virtual bool OnRstStreamFrame(const QuicRstStreamFrame& frame) = 0;
139 const QuicConnectionCloseFrame& frame) = 0;
142 virtual bool OnGoAwayFrame(const QuicGoAwayFrame& frame) = 0;
145 virtual bool OnWindowUpdateFrame(const QuicWindowUpdateFrame& frame) = 0;
148 virtual bool OnBlockedFrame(const QuicBlockedFrame& frame) = 0;
173 // When an ack frame gets truncated while being framed the received
174 // entropy of the ack frame needs to be calculated since the some of the
233 // entropy of a truncated ack frame. An entropy calculator must be set or else
247 // single, complete UDP packet (not a frame of a packet). This packet
259 // Largest size in bytes of all stream frame fields without the payload.
264 // Size in bytes of all ack frame fields without the missing packets.
268 // Size in bytes of a stop waiting frame.
271 // Size in bytes of all reset stream frame without the error details.
273 // Size in bytes of all connection close frame fields without the error
274 // details and the missing packets from the enclosed ack frame.
276 // Size in bytes of all GoAway frame fields without the reason phrase.
278 // Size in bytes of all WindowUpdate frame fields.
280 // Size in bytes of all Blocked frame fields.
289 // Returns the number of bytes added to the packet for the specified frame,
290 // and 0 if the frame doesn't fit. Includes the header size for the first
291 // frame.
293 const QuicFrame& frame,
412 bool ProcessStreamFrame(uint8 frame_type, QuicStreamFrame* frame);
413 bool ProcessAckFrame(uint8 frame_type, QuicAckFrame* frame);
414 bool ProcessTimestampsInAckFrame(QuicAckFrame* frame);
419 bool ProcessRstStreamFrame(QuicRstStreamFrame* frame);
420 bool ProcessConnectionCloseFrame(QuicConnectionCloseFrame* frame);
421 bool ProcessGoAwayFrame(QuicGoAwayFrame* frame);
422 bool ProcessWindowUpdateFrame(QuicWindowUpdateFrame* frame);
423 bool ProcessBlockedFrame(QuicBlockedFrame* frame);
438 // Computes the wire size in bytes of the |ack| frame, assuming no truncation.
442 // Computes the wire size in bytes of the payload of |frame|.
443 size_t ComputeFrameLength(const QuicFrame& frame,
456 static AckFrameInfo GetAckFrameInfo(const QuicAckFrame& frame);
458 // The Append* methods attempt to write the provided header or frame using the
462 bool AppendTypeByte(const QuicFrame& frame,
465 bool AppendStreamFrame(const QuicStreamFrame& frame,
469 const QuicAckFrame& frame,
471 bool AppendCongestionFeedbackFrame(const QuicCongestionFeedbackFrame& frame,
473 bool AppendTimestampToAckFrame(const QuicAckFrame& frame,
476 const QuicStopWaitingFrame& frame,
478 bool AppendRstStreamFrame(const QuicRstStreamFrame& frame,
480 bool AppendConnectionCloseFrame(const QuicConnectionCloseFrame& frame,
482 bool AppendGoAwayFrame(const QuicGoAwayFrame& frame, QuicDataWriter* writer);
483 bool AppendWindowUpdateFrame(const QuicWindowUpdateFrame& frame,
485 bool AppendBlockedFrame(const QuicBlockedFrame& frame,
539 // The time delta computed for the last timestamp frame. This is relative to