[Olsr-dev] packet sequence number

Bernd Petrovitsch (spam-protected)
Fri Aug 24 13:55:19 CEST 2007


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?

> Benoit PAPILLAULT wrote:
> > Hi there,
> >
> > I have a question regarding OLSR packet sequence. According to the 
> > RFC3626, there is a counter for each interface, quoting "A separate 
> > Packet Sequence Number is maintained for each interface such that 
> > packets transmitted over an interface are sequentially enumerated."
> >
> > The current code uses a simple counter for all interfaces. Is that 
> > normal? What are the reason of this different behavior compared to what 
> > the RFC defines?

	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