LEFT | RIGHT |
(no file at all) | |
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ | 1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
2 /* | 2 /* |
3 * Copyright (c) 2007,2008,2009 INRIA, UDCAST | 3 * Copyright (c) 2007,2008,2009 INRIA, UDCAST |
4 * | 4 * |
5 * This program is free software; you can redistribute it and/or modify | 5 * This program is free software; you can redistribute it and/or modify |
6 * it under the terms of the GNU General Public License version 2 as | 6 * it under the terms of the GNU General Public License version 2 as |
7 * published by the Free Software Foundation; | 7 * published by the Free Software Foundation; |
8 * | 8 * |
9 * This program is distributed in the hope that it will be useful, | 9 * This program is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 #ifndef UDP_SERVER_H | 23 #ifndef UDP_SERVER_H |
24 #define UDP_SERVER_H | 24 #define UDP_SERVER_H |
25 | 25 |
26 #include "ns3/application.h" | 26 #include "ns3/application.h" |
27 #include "ns3/event-id.h" | 27 #include "ns3/event-id.h" |
28 #include "ns3/ptr.h" | 28 #include "ns3/ptr.h" |
29 #include "ns3/address.h" | 29 #include "ns3/address.h" |
30 #include "ns3/traced-callback.h" | 30 #include "ns3/traced-callback.h" |
31 #include "packet-loss-counter.h" | 31 #include "packet-loss-counter.h" |
32 | |
33 namespace ns3 { | 32 namespace ns3 { |
34 /** | 33 /** |
35 * \ingroup applications | 34 * \ingroup applications |
36 * \defgroup udpclientserver UdpClientServer | 35 * \defgroup udpclientserver UdpClientServer |
37 */ | 36 */ |
38 | 37 |
39 /** | 38 /** |
40 * \ingroup udpclientserver | 39 * \ingroup udpclientserver |
41 * | 40 * |
42 * \brief A UDP server, receives UDP packets from a remote host. | 41 * \brief A UDP server, receives UDP packets from a remote host. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 TracedCallback<Ptr<const Packet> > m_rxTrace; | 106 TracedCallback<Ptr<const Packet> > m_rxTrace; |
108 | 107 |
109 /// Callbacks for tracing the packet Rx events, includes source and destinatio
n addresses | 108 /// Callbacks for tracing the packet Rx events, includes source and destinatio
n addresses |
110 TracedCallback<Ptr<const Packet>, const Address &, const Address &> m_rxTraceW
ithAddresses; | 109 TracedCallback<Ptr<const Packet>, const Address &, const Address &> m_rxTraceW
ithAddresses; |
111 | 110 |
112 }; | 111 }; |
113 | 112 |
114 } // namespace ns3 | 113 } // namespace ns3 |
115 | 114 |
116 #endif /* UDP_SERVER_H */ | 115 #endif /* UDP_SERVER_H */ |
LEFT | RIGHT |