[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20141127123040.GA4443@localhost.localdomain>
Date: Thu, 27 Nov 2014 13:30:40 +0100
From: Richard Cochran <richardcochran@...il.com>
To: Andy Lutomirski <luto@...capital.net>
Cc: Willem de Bruijn <willemb@...gle.com>,
David Miller <davem@...emloft.net>,
Network Development <netdev@...r.kernel.org>
Subject: Re: [PATCH rfc 1/4] net-timestamp: pull headers for SOCK_STREAM
On Wed, Nov 26, 2014 at 04:36:39PM -0800, Andy Lutomirski wrote:
> Is there any reason to believe that unconditionally dropping the
> headers would break anything? I find it a bit hard to believe that
> anyone has actually implemented logic to figure out *what* L2 header
> type should be decoded and decode it.
Documentation/networking/timestamping/timestamping.c
else if (!memcmp(sync, data + res - sizeof(sync),
sizeof(sync)))
printf(" => GOT OUR DATA BACK (HURRAY!)");
The example program looks from the end of the buffer, ignoring the lower headers.
Thanks,
Richard
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists