[Olsr-dev] packet sequence number

Benoit PAPILLAULT (spam-protected)
Sun Aug 26 21:37:42 CEST 2007


Bernd Petrovitsch a écrit :
> On Fri, 2007-08-24 at 09:15 +0200, Andreas Tønnesen wrote:
>   
>> Please provide examples. Olsrd maintains one seqno pr. interface
>> in olsrd_seqnum in the interface struct(interface.h).
>> This value is appended and incremented in every transmission on
>> that interface in the net_output function(net_olsr.c).
>> IMO this is what the RFC requires.
>>     
>
> What do we need then the "message_seqno" in defined in olsr.c?
> It seems to be used quite often - just do a
> `find -name '*.[ch]' | xargs fgrep get_msg_seqno`.
>
> Or what I'm missing?
>   
This is correct IMHO. Maybe it should be more clear by calling them:
olsr_msg_seqno and olsr_pkt_seqno .... my 2 cents.

Benoit





More information about the Olsr-dev mailing list