[Olsr-dev] Number of Packets
Thu Apr 1 16:46:21 CEST 2010
Am Donnerstag 01 April 2010 16:03:13 schrieb Airton Ishimori:
> 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 /
> (num_msgs / OLSR_MAX_MSGS + 1);
> The code lines above calculate the number of olsr packet is needed to sent
> all messages.
It's just NS2-Code, it has no relevance in the real world.
> The RFC 3626 define that the maximum number of olsr message is 4
> per olsr packet.
I don't think so. Could you state the line where RFC 3626 says so ?
> 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
> necessary to sent all message?
1) You can't win.
2) You can't break even.
3) You can't leave the game.
— The Laws of Thermodynamics, summarized
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part.
More information about the Olsr-dev