Home | History | Annotate | Download | only in quic

Lines Matching full:packet

60   // Called only when |is_server_| is true and the the framer gets a packet with
61 // version flag true and the version on the packet doesn't match
64 // this packet.
67 // Called when a new packet has been received, before it
71 // Called when a public reset packet has been parsed but has not yet
74 const QuicPublicResetPacket& packet) = 0;
76 // Called only when |is_server_| is false and a version negotiation packet has
79 const QuicVersionNegotiationPacket& packet) = 0;
81 // Called when a lost packet has been recovered via FEC,
86 // If OnUnauthenticatedHeader returns false, framing for this packet will
90 // Called when the complete header of a packet had been parsed.
91 // If OnPacketHeader returns false, framing for this packet will cease.
94 // Called when a data packet is parsed that is part of an FEC group.
95 // |payload| is the non-encrypted FEC protected payload of the packet.
102 // the framer will stop parsing the current packet.
122 // Called when a packet has been completely processed.
130 // Called when a data packet is constructed that is part of an FEC group.
131 // |payload| is the non-encrypted FEC protected payload of the packet.
136 // This class calculates the received entropy of the ack packet being
171 static bool HasVersionFlag(const QuicEncryptedPacket& packet);
173 // Calculates the largest observed packet to advertise in the case an Ack
175 // last missing packet which fit in the outgoing ack.
224 // Pass a UDP packet into the framer for parsing.
225 // Return true if the packet was processed succesfully. |packet| must be a
226 // single, complete UDP packet (not a frame of a packet). This packet
229 bool ProcessPacket(const QuicEncryptedPacket& packet);
231 // Pass a data packet that was revived from FEC data into the framer
233 // Return true if the packet was processed succesfully. |payload| must be
234 // the complete DECRYPTED payload of the revived packet.
255 // The maximum number of nacks which can be transmitted in a single ack packet
262 // Size in bytes required for a serialized version negotiation packet
269 // Returns the number of bytes added to the packet for the specified frame,
279 // Returns the associated data from the encrypted packet |encrypted| as a
287 // Returns a SerializedPacket whose |packet| member is owned by the caller,
289 // the packet could not be created.
294 // Returns a SerializedPacket whose |packet| member is owned by the caller,
295 // is created from the first |num_frames| frames, or is NULL if the packet
296 // could not be created. The packet must be of size |packet_size|.
301 // Returns a SerializedPacket whose |packet| member is owned by the caller,
303 // packet could not be created.
307 // Returns a new public reset packet, owned by the caller.
309 const QuicPublicResetPacket& packet);
342 // Returns a new encrypted packet, owned by the caller.
345 const QuicPacket& packet);
353 // Read the full 8 byte guid from a packet header.
355 static bool ReadGuidFromPacket(const QuicEncryptedPacket& packet,
383 const QuicEncryptedPacket& packet);
392 const QuicEncryptedPacket& packet);
412 const QuicEncryptedPacket& packet);
414 // Returns the full packet sequence number from the truncated
415 // wire format version and the last seen packet sequence number.
494 // successfully decrypts a packet, we should install it as the only