Re: [PATCH net-next 8/8] sock: document timestamping via cmsg in Documentation

2016-03-31 Thread Soheil Hassas Yeganeh
Hi Lino, On Thu, Mar 31, 2016 at 5:57 AM, Lino Sanfilippo wrote: > > Hi, > > > On 31.03.2016 00:37, Soheil Hassas Yeganeh wrote: > >> + >> +Moreover, applications must still enable timestamp reporting via >> +setsockopt to receive timestamps: >> + >> + u32 val = SOF_TIMESTAMPING_SOFTWARE | > > >

Re: [PATCH net-next 8/8] sock: document timestamping via cmsg in Documentation

2016-03-31 Thread Lino Sanfilippo
Hi, On 31.03.2016 00:37, Soheil Hassas Yeganeh wrote: + +Moreover, applications must still enable timestamp reporting via +setsockopt to receive timestamps: + + u32 val = SOF_TIMESTAMPING_SOFTWARE | would not __u32 be more appropriate for userspace? Regards, Lino

Re: [PATCH net-next 8/8] sock: document timestamping via cmsg in Documentation

2016-03-30 Thread Willem de Bruijn
On Wed, Mar 30, 2016 at 6:37 PM, Soheil Hassas Yeganeh wrote: > From: Soheil Hassas Yeganeh > > Update docs and add code snippet for using cmsg for timestamping. > > Signed-off-by: Soheil Hassas Yeganeh Acked-by: Willem de Bruijn

[PATCH net-next 8/8] sock: document timestamping via cmsg in Documentation

2016-03-30 Thread Soheil Hassas Yeganeh
From: Soheil Hassas Yeganeh Update docs and add code snippet for using cmsg for timestamping. Signed-off-by: Soheil Hassas Yeganeh --- Documentation/networking/timestamping.txt | 48 +-- 1 file changed, 45 insertions(+), 3 deletions(-) diff --git a/Documentation/ne