equal
deleted
inserted
replaced
90 * |
90 * |
91 * Request the Node to create a trace resolver. This method |
91 * Request the Node to create a trace resolver. This method |
92 * could be used directly by a user who needs access to very low-level |
92 * could be used directly by a user who needs access to very low-level |
93 * trace configuration. |
93 * trace configuration. |
94 */ |
94 */ |
95 TraceResolver *CreateTraceResolver (void); |
95 Ptr<TraceResolver> CreateTraceResolver (void); |
96 |
96 |
97 /** |
97 /** |
98 * \returns the unique id of this node. |
98 * \returns the unique id of this node. |
99 * |
99 * |
100 * This unique id happens to be also the index of the Node into |
100 * This unique id happens to be also the index of the Node into |
210 virtual void NotifyDeviceAdded (Ptr<NetDevice> device); |
210 virtual void NotifyDeviceAdded (Ptr<NetDevice> device); |
211 |
211 |
212 bool ReceiveFromDevice (Ptr<NetDevice> device, const Packet &packet, |
212 bool ReceiveFromDevice (Ptr<NetDevice> device, const Packet &packet, |
213 uint16_t protocol, const Address &from); |
213 uint16_t protocol, const Address &from); |
214 void Construct (void); |
214 void Construct (void); |
215 TraceResolver *CreateDevicesTraceResolver (void); |
215 Ptr<TraceResolver> CreateDevicesTraceResolver (void); |
216 |
216 |
217 struct ProtocolHandlerEntry { |
217 struct ProtocolHandlerEntry { |
218 ProtocolHandler handler; |
218 ProtocolHandler handler; |
219 uint16_t protocol; |
219 uint16_t protocol; |
220 Ptr<NetDevice> device; |
220 Ptr<NetDevice> device; |