[Olsr-dev] packet sequence number
Bernd Petrovitsch
(spam-protected)
Fri Aug 24 13:56:08 CEST 2007
On Fri, 2007-08-24 at 13:51 +0200, Benoit PAPILLAULT wrote:
> Andreas Tønnesen a écrit :
> >
> > 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.
> >
> > - Andreas
> Hi Andreas,
>
> I reread the RFC and made a small mistake in fact. The RFC defines:
> * Packet Sequence Number (3.3.1) : A separe packet sequence number is
> maintained on each interface (interface.olsr_seqnum in the interface.h)
> * Message Sequence Number (3.3.2) : The sequence number is increased by
> 1 for each message (message_seqno in olsr.c)
>
> The current code looks correct then :-)
That answers then my question (and the other mail) too.
Bernd
--
Firmix Software GmbH http://www.firmix.at/
mobil: +43 664 4416156 fax: +43 1 7890849-55
Embedded Linux Development and Services
More information about the Olsr-dev
mailing list