xref: /aosp_15_r20/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/simulator/port.cc (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #include "quiche/quic/test_tools/simulator/port.h"
6 
7 namespace quic {
8 namespace simulator {
9 
Packet()10 Packet::Packet()
11     : source(), destination(), tx_timestamp(QuicTime::Zero()), size(0) {}
12 
~Packet()13 Packet::~Packet() {}
14 
15 Packet::Packet(const Packet& packet) = default;
16 
Endpoint(Simulator * simulator,std::string name)17 Endpoint::Endpoint(Simulator* simulator, std::string name)
18     : Actor(simulator, name) {}
19 
20 }  // namespace simulator
21 }  // namespace quic
22