[Olsr-dev] Number of Packets
Thu Apr 1 16:03:13 CEST 2010
On the NS-2 (inside the member function OLSR::send_pkt() [in the file
the bellow code lines it is present:
// Calculates the number of needed packets
int num_pkts = (num_msgs % OLSR_MAX_MSGS == 0) ? num_msgs / OLSR_MAX_MSGS
(num_msgs / OLSR_MAX_MSGS + 1);
The code lines above calculate the number of olsr packet is needed to sent
messages. The RFC 3626 define that the maximum number of olsr message is 4
olsr packet. My question is, inside of the olsrd-0.5.6-r8, has something
equivalent at code lines above? The olsrd calculate the number of packet
to sent all message?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Olsr-dev