root/net/quic/test_tools/quic_received_packet_manager_peer.cc

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. RecalculateEntropyHash
  2. DontWaitForPacketsBefore

// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "net/quic/test_tools/quic_received_packet_manager_peer.h"

#include "net/quic/quic_protocol.h"
#include "net/quic/quic_received_packet_manager.h"

namespace net {
namespace test {

// static
void QuicReceivedPacketManagerPeer::RecalculateEntropyHash(
    QuicReceivedPacketManager* received_packet_manager,
    QuicPacketSequenceNumber peer_least_unacked,
    QuicPacketEntropyHash entropy_hash) {
  received_packet_manager->RecalculateEntropyHash(peer_least_unacked,
                                                  entropy_hash);
}

// static
bool QuicReceivedPacketManagerPeer::DontWaitForPacketsBefore(
    QuicReceivedPacketManager* received_packet_manager,
    QuicPacketSequenceNumber least_unacked) {
  return received_packet_manager->DontWaitForPacketsBefore(least_unacked);
}

}  // namespace test
}  // namespace net

/* [<][>][^][v][top][bottom][index][help] */