On Thu, Mar 15, 2018 at 12:00:27PM +0100, Anders Selhammer wrote:
> This patch will remove all delay requests in queue that is older than the 
> latest processed. Connected responses to these are either much more delayed 
> or lost. Any received response derived from an obsolete request will be 
> neglected.

Use a time stamp for this.  We already have a field ready for that:

                /**
                 * Approximate ingress time stamp using the relative
                 * CLOCK_MONOTONIC. Used to determine when announce
                 * messages have expired.
                 */
                struct timespec host;

Thanks,
Richard


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to