On Tue, Feb 7, 2017 at 2:32 PM, Willem de Bruijn <willemdebruijn.ker...@gmail.com> wrote: >>> 2) new SO_TIMESTAMPING option to receive from the error queue only >>> user data as was passed to sendmsg() instead of Ethernet frames >>> >>> Parsing Ethernet and IP headers (especially IPv6 options) is not >>> fun and SOF_TIMESTAMPING_OPT_ID is not always practical, e.g. in >>> applications which process messages from the error queue >>> asynchronously and don't bind/connect their sockets. >> >> This would be useful for application writing. > > What kind of user data are you suggesting? Just a user-defined ID > passed as a cmsg? Allowing such metadata to override > skb_shinfo(skb)->tskey sounds fine.
Yes, exactly. Just a user-defined ID that overrides the skb_shinfo(skb)->tskey. Thanks, Soheil