how to find one hop sender node in ns2 dsragent? -


i want find out node in neighborhood sent me packet receiving in recv function in dsragent. use following packet header don't have previous address.

hdr_sr *srh = hdr_sr::access(packet); hdr_ip *iph = hdr_ip::access(packet); hdr_cmn *cmh =  hdr_cmn::access(packet); 

the sending node shall modify 1 of header, otherwise telling impossible. since don't know application looks like, can't tell header appropriate modify.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -