blob: 13d5bc546fe17b8b0e49d5aff71a101eee6ab6e0 [file] [log] [blame]
Qingsi Wang6e641e62018-04-11 20:14:17 -07001/*
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/socket.h"
12
13namespace rtc {
14
15PacketInfo::PacketInfo() = default;
16PacketInfo::PacketInfo(const PacketInfo& info) = default;
17PacketInfo::~PacketInfo() = default;
18
19SentPacket::SentPacket() = default;
20SentPacket::SentPacket(int packet_id, int64_t send_time_ms)
21 : packet_id(packet_id), send_time_ms(send_time_ms) {}
22SentPacket::SentPacket(int 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