Home | History | Annotate | Download | only in quic

Lines Matching defs:packet

121   // Called when a packet has been sent.
125 const QuicEncryptedPacket& packet,
128 // Called when the contents of a packet have been retransmitted as
129 // a new packet.
134 // Called when a packet has been received, but before it is
138 const QuicEncryptedPacket& packet) {}
140 // Called when the protocol version on the received packet doensn't match
144 // Called when the complete header of a packet has been parsed.
179 // Called when a public reset packet has been received.
180 virtual void OnPublicResetPacket(const QuicPublicResetPacket& packet) {}
182 // Called when a version negotiation packet has been received.
184 const QuicVersionNegotiationPacket& packet) {}
186 // Called after a packet has been successfully parsed which results
187 // in the revival of a packet via FEC.
241 // has been sent on the wire: it may have been turned into a packet and queued
268 // Sends the connection close packet without affecting the state of the
288 // Processes an incoming UDP packet (consisting of a QuicEncryptedPacket) from
289 // the peer. If processing this packet permits a packet to be revived from
290 // its FEC group that packet will be revived and processed.
293 const QuicEncryptedPacket& packet);
300 // Called when a packet has been finally sent to the network.
307 // safely done until the packet is validated. Returns true if the packet
324 const QuicPublicResetPacket& packet) OVERRIDE;
326 const QuicVersionNegotiationPacket& packet) OVERRIDE;
356 virtual bool OnSerializedPacket(const SerializedPacket& packet) OVERRIDE;
416 // Sets up a packet with an QuicAckFrame and sends it out.
465 // Returns the underlying sent packet manager.
477 // first packet created, if there's new ack information to be sent.
483 // outgoing packet.
493 // Send a packet to the peer using encryption |level|. If |sequence_number|
494 // is present in the |retransmission_map_|, then contents of this packet will
496 // Deletes |packet| if WritePacket call succeeds, or transfers ownership to
503 const SerializedPacket& packet,
519 // Owns the QuicPacket* packet.
521 QueuedPacket(SerializedPacket packet,
526 QuicPacket* packet;
538 // Writes the given packet to socket, encrypted with packet's
541 // the packet was transmitted and may be destroyed. If the packet is
543 // If packet is FORCE, then it will be sent immediately and the send scheduler
545 bool WritePacket(QueuedPacket packet);
553 // Sends a version negotiation packet to the peer.
556 // Clears any accumulated frames from the last received packet.
566 // Returns true if the packet should be discarded and not sent.
571 // Queues |packet| in the hopes that it can be decrypted in the
573 void QueueUndecryptablePacket(const QuicEncryptedPacket& packet);
578 // If a packet can be revived from the current FEC group, then
579 // revive and process the packet.
589 // Queues an ack or sets the ack alarm when an incoming packet arrives that
593 // Checks if the last packet should instigate an ack.
600 // Sends any packets which are a response to the last packet, including both
608 // Get the FEC group associate with the last processed packet or NULL, if the
618 // On arrival of a new packet, checks to see if the socket addresses have
619 // changed since the last packet we saw on this connection.
631 // Address on the last successfully processed packet received from the
638 bool last_packet_revived_; // True if the last packet was revived from FEC.
639 size_t last_size_; // Size of the last received packet.
667 // When the version negotiation packet could not be sent because the socket
679 // Contains the connection close packet if the connection has been closed.
695 // An alarm that fires when a packet needs to be retransmitted.
698 // a delay before sending packets and fires when the packet may be sent.
720 // The time that we got a packet for this connection.
721 // This is used for timeouts, and does not indicate the packet was processed.
724 // The last time a new (non-retransmitted) packet was sent for this
728 // Sequence number of the last sent packet. Packets are guaranteed to be sent
732 // Sent packet manager which tracks the status of packets sent by this
747 // Set to true if the UDP packet headers have a new IP address for the peer.
751 // Set to true if the UDP packet headers have a new port for the peer.
755 // Set to true if the UDP packet headers are addressed to a different IP.
759 // Set to true if the UDP packet headers are addressed to a different port.
764 // version negotiation packet.