1 /* 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 13 namespace rtc { 14 15 PacketInfo::PacketInfo() = default; 16 PacketInfo::PacketInfo(const PacketInfo& info) = default; 17 PacketInfo::~PacketInfo() = default; 18 19 SentPacket::SentPacket() = default; SentPacket(int64_t packet_id,int64_t send_time_ms)20SentPacket::SentPacket(int64_t packet_id, int64_t send_time_ms) 21 : packet_id(packet_id), send_time_ms(send_time_ms) {} SentPacket(int64_t packet_id,int64_t send_time_ms,const rtc::PacketInfo & info)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 28