Hello everyone, I have been trying to get a reference to the Node object from within the Classifier class (or from it's sub-classes like Hash-Classifier and Multipath-Classifier), but I am still not able to gather how it can be done. Naturally if I am able to gather the address of the Node, then a simple call of the Node::get_node_by_address function would solve my problem, but I am unaware of how the address can be attained.
Packets flying in the network normally only have address information of the source and destination endhosts. They do not normally hold info of intermediate nodes. I noticed fields like previous_hop and next_hop in the hdr_cmn struct, however those are specific to some Monarch extensions which I think are used for wireless networking. these fields are not populated in normal wired network simulations. Maybe someone could guide me further about the best approach forward. Thanks & Regards, IRTEZA PhD Student @ LUMS