From: Armen B. <ar...@cs...> - 2004-03-27 20:04:38
|
Hi Dhaval, It's been a very long time since I've looked at my ad-hoc stuff...so I=20= don't recall exactly what the problem was. But looking at the source code in aodv.cc, the call to select() does=20 not seem correct. select() needs a struct timeval * as its last=20 argument, so I think you should declare a struct timeval timeout , and=20= initialize the timeout.tv_sec and timeout.tv_usec fields of, and then=20 pass this pointer to this to select(). The existing aodv.cc just=20 passes a NULL pointer, which select() might be complaining about (and=20 thus returning < 0). That may be the problem. Let me (or this list) know. When I get back=20 into this work, I'll look at it some more. I also plan to take a crack at figuring out why route_check doesn't=20 want to work in kernels > 2.4.18, now that I've been learning a bit=20 about linux kernel internals. Ah, the todo list keeps getting bigger.=20= :) Hope this helps, - Armen On Mar 27, 2004, at 2:28 PM, Dhaval Mehta wrote: > Hi all, > =A0 > I am facing the same problem as what Armen was facing in the post=20 > "AODV-UIUC manual?".=A0 Armen, were you able to figure out the cause? > =A0 > Also, do you guys know if=A0route_check.o now works with kernels >=20 > 2.4.19?=A0=A0Or do we still need to use 2.4.18? > =A0 > Thanks in advance, > Dhaval=A0 > > Do you Yahoo!? > Yahoo! Finance Tax Center - File online. File on time. |