[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ns] How to get router id?



Hi,

Look at agent.h There is a variable called here_  that keeps address and
port and two references  to it addr() and port()
So, if I got you right, you can say
hdrip->src_=addr();

I hope it helped

--
Andreas Alexelis, Lab.1 ACR,
Advanced Telecommunications Research, Japan
E-mail: [email protected]