[ns] Floating point exception

2006-06-27 Thread Takuya Kimura
Hi, I'm writing a new routing protocol for mobile ad hoc networks. This new protocol works properly when I tested on small networks ( 10 nodes). But the simulations stoped when I run on large networks (120 nodes) with the error floating point exception. What can be a cause of this error? Note

[ns] Problem when adding new variable in common header

2006-06-06 Thread Takuya Kimura
[input] [input] [input] [input] Hi, I want to add a new variable in common header as information for any routing protocols. I edited common/packet.h as follows. struct hdr_cmn { ... static nsaddr_t new_var_; ... }; A node sets value for new_var_ and broadcasts the packet. Any nodes