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

[ns] neighbor set of a mobile node



hi:

I use the following code to get the the neighbor set
of a mobile node:

Neighbor *nb = nbhead.lh_first;
....

for (; nb; nb = nb->nb_link.le_next)
       printf(" %d", nb->nb_addr);

why sometimes I get that the nb->nb_addr is very
large, and sometimes "segmentation fault"? It seems to
me that the nb list doesn't maintain well.

Thanks,

bo sun


__________________________________________________
Do You Yahoo!?
NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1