Lines Matching defs:packet

122   // pending frames when FEC protection is turned on. If current packet can be
123 // converted to an FEC protected packet, do it. This will require the
125 // frame to be added to the packet.
155 // packet header size in all packets within a group.
163 // Update sequence number length only on packet and FEC group boundaries.
170 // the sequence number of the next packet.
177 // A packet that is already open might send kQuicVersionSize bytes less than the
178 // maximum packet size if we stop sending version before it is serialized.
192 // Since the packet creator will not change sequence number length mid FEC
224 // Assumes this is a stream with a single lone packet.
247 // Create a new packet for the fin, if necessary.
276 // a packet. At that point the notifier is informed of the sequence number
277 // of the packet that this frame was eventually sent in.
297 // Serialize the packet and restore the FEC and sequence number length state.
313 << "Attempt to serialize empty packet";
318 SerializedPacket packet = SerializePacket();
319 DCHECK(packet.retransmittable_frames == NULL);
320 return packet;
333 // If packet is FEC protected, there's no expansion.
337 // If the last frame in the packet is a stream frame, then it will expand to
357 // Update sequence number length on packet and FEC boundary.
372 << "Attempt to serialize empty packet";
383 // in the packet, and if packet_size_ was set to max_plaintext_size. If
391 LOG_IF(DFATAL, !serialized.packet)
394 // packet size calculation worked correctly.
396 DCHECK_EQ(packet_size_, serialized.packet->length());
420 LOG_IF(DFATAL, !serialized.packet)
421 << "Failed to serialize fec packet for group:" << fec_data.fec_group;
422 DCHECK_GE(max_packet_length_, serialized.packet->length());
517 // If any of the frames in the current packet are on the crypto stream