2011-05-18 09:03:07

by Antonio Quartulli

[permalink] [raw]
Subject: Suggestion for patch: Comparison between packet sequence numbers

Hello everyone,

I would like to send a patch that introduces a little set of global defines
that manages comparison between packet sequence numbers (considering
overflow/wraparound). But honestly, I didn't find the right header where to
add these defines.

Could someone suggest me something?

Regards,

--
Antonio Quartulli

..each of us alone is worth nothing..
Ernesto "Che" Guevara


2011-05-18 09:06:45

by Alexey Dobriyan

[permalink] [raw]
Subject: Re: Suggestion for patch: Comparison between packet sequence numbers

On Wed, May 18, 2011 at 11:45 AM, Antonio Quartulli <[email protected]> wrote:
> I would like to send a patch that introduces a little set of global defines
> that manages comparison between packet sequence numbers (considering
> overflow/wraparound). But honestly, I didn't find the right header where to
> add these defines.
>
> Could someone suggest me something?

It depends on where your comparison functions(?) are.
Add them somewhere, send a patch, what exactly patch does is far
more important than some define placement you can change at any time.