equal
deleted
inserted
replaced
24 #include "ipv4-end-point.h" |
24 #include "ipv4-end-point.h" |
25 #include "ipv4-l4-demux.h" |
25 #include "ipv4-l4-demux.h" |
26 |
26 |
27 namespace ns3 { |
27 namespace ns3 { |
28 |
28 |
29 UdpSocket::UdpSocket (Ptr<INode> node, Ptr<Udp> udp) |
29 UdpSocket::UdpSocket (Ptr<Node> node, Ptr<Udp> udp) |
30 : m_endPoint (0), |
30 : m_endPoint (0), |
31 m_node (node), |
31 m_node (node), |
32 m_udp (udp), |
32 m_udp (udp), |
33 m_errno (ERROR_NOTERROR), |
33 m_errno (ERROR_NOTERROR), |
34 m_shutdownSend (false), |
34 m_shutdownSend (false), |
54 NS_ASSERT (m_endPoint == 0); |
54 NS_ASSERT (m_endPoint == 0); |
55 } |
55 } |
56 m_udp = 0; |
56 m_udp = 0; |
57 } |
57 } |
58 |
58 |
59 Ptr<INode> |
59 Ptr<Node> |
60 UdpSocket::GetINode (void) const |
60 UdpSocket::GetNode (void) const |
61 { |
61 { |
62 return m_node; |
62 return m_node; |
63 } |
63 } |
64 |
64 |
65 void |
65 void |