[Olsr-dev] Number of Packets

Airton Ishimori (spam-protected)
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
equal or
equivalent at code lines above? The olsrd calculate the number of packet
to sent all message?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.olsr.org/pipermail/olsr-dev/attachments/20100401/2ae86176/attachment.html>

More information about the Olsr-dev mailing list