blob: 8cc49737efdeca7081e155cdc7541e835c1c0bee [file] [log] [blame]
Sebastian Janssone07864e2018-10-15 09:28:15 +02001/*
2 * Copyright 2018 The WebRTC Project Authors. All rights reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11#include "rtc_base/network/sent_packet.h"
12
13namespace rtc {
14
15PacketInfo::PacketInfo() = default;
16PacketInfo::PacketInfo(const PacketInfo& info) = default;
17PacketInfo::~PacketInfo() = default;
18
19SentPacket::SentPacket() = default;
20SentPacket::SentPacket(int64_t packet_id, int64_t send_time_ms)
21 : packet_id(packet_id), send_time_ms(send_time_ms) {}
22SentPacket::SentPacket(int64_t packet_id,
23 int64_t send_time_ms,
24 const rtc::PacketInfo& info)
25 : packet_id(packet_id), send_time_ms(send_time_ms), info(info) {}
26
27} // namespace rtc