Hello, I want to create simulation of network with using cisco routers with their access lists. I decided that particular access list of routers I would store to particular node. If I understand working of NS correctly I can catch incoming packet for some node in:
classifier.cc in void Classifier::recv(Packet* p, Handler*h) Incoming packet has header. There is prev_hop (it could be actual node) in packet header. hdr_cmn *cmnh; cmnh = hdr_cmn::access(p); prev_hop = cmnh->prev_hop(); Bui If I use it it still return 0 Please, could you help me? Or could you tell me another way, how I can get id of actual nonwireles node. Thanx a lot Jiri Macku