equal
deleted
inserted
replaced
30 #include "ipv4-end-point-demux.h" |
30 #include "ipv4-end-point-demux.h" |
31 #include "ipv4-l4-protocol.h" |
31 #include "ipv4-l4-protocol.h" |
32 |
32 |
33 namespace ns3 { |
33 namespace ns3 { |
34 |
34 |
35 class INode; |
35 class Node; |
36 class TraceResolver; |
36 class TraceResolver; |
37 class TraceContext; |
37 class TraceContext; |
38 class Socket; |
38 class Socket; |
39 /** |
39 /** |
40 * \brief Implementation of the UDP protocol |
40 * \brief Implementation of the UDP protocol |
44 static const uint8_t PROT_NUMBER; |
44 static const uint8_t PROT_NUMBER; |
45 /** |
45 /** |
46 * \brief Constructor |
46 * \brief Constructor |
47 * \param node The node this protocol is associated with |
47 * \param node The node this protocol is associated with |
48 */ |
48 */ |
49 Udp (Ptr<INode> node); |
49 Udp (Ptr<Node> node); |
50 virtual ~Udp (); |
50 virtual ~Udp (); |
51 |
51 |
52 virtual TraceResolver *CreateTraceResolver (TraceContext const &context); |
52 virtual TraceResolver *CreateTraceResolver (TraceContext const &context); |
53 /** |
53 /** |
54 * \return A smart Socket pointer to a UdpSocket, allocated by this instance |
54 * \return A smart Socket pointer to a UdpSocket, allocated by this instance |
88 Ipv4Address const &source, |
88 Ipv4Address const &source, |
89 Ipv4Address const &destination); |
89 Ipv4Address const &destination); |
90 protected: |
90 protected: |
91 virtual void DoDispose (void); |
91 virtual void DoDispose (void); |
92 private: |
92 private: |
93 Ptr<INode> m_node; |
93 Ptr<Node> m_node; |
94 Ipv4EndPointDemux *m_endPoints; |
94 Ipv4EndPointDemux *m_endPoints; |
95 }; |
95 }; |
96 |
96 |
97 }; // namespace ns3 |
97 }; // namespace ns3 |
98 |
98 |