equal
deleted
inserted
replaced
47 |
47 |
48 /** |
48 /** |
49 * \param ip destination ipv4 address |
49 * \param ip destination ipv4 address |
50 * \param port destination port |
50 * \param port destination port |
51 */ |
51 */ |
|
52 void SetRemote (Address ip, uint16_t port); |
52 void SetRemote (Ipv4Address ip, uint16_t port); |
53 void SetRemote (Ipv4Address ip, uint16_t port); |
|
54 void SetRemote (Ipv6Address ip, uint16_t port); |
53 |
55 |
54 /** |
56 /** |
55 * Set the data size of the packet (the number of bytes that are sent as data |
57 * Set the data size of the packet (the number of bytes that are sent as data |
56 * to the server). The contents of the data are set to unspecified (don't |
58 * to the server). The contents of the data are set to unspecified (don't |
57 * care) by this call. |
59 * care) by this call. |
140 uint32_t m_dataSize; |
142 uint32_t m_dataSize; |
141 uint8_t *m_data; |
143 uint8_t *m_data; |
142 |
144 |
143 uint32_t m_sent; |
145 uint32_t m_sent; |
144 Ptr<Socket> m_socket; |
146 Ptr<Socket> m_socket; |
145 Ipv4Address m_peerAddress; |
147 Address m_peerAddress; |
146 uint16_t m_peerPort; |
148 uint16_t m_peerPort; |
147 EventId m_sendEvent; |
149 EventId m_sendEvent; |
148 /// Callbacks for tracing the packet Tx events |
150 /// Callbacks for tracing the packet Tx events |
149 TracedCallback<Ptr<const Packet> > m_txTrace; |
151 TracedCallback<Ptr<const Packet> > m_txTrace; |
150 }; |
152 }; |