IN_PKTINFO decoding

Dmitry V. Levin ldv at altlinux.org
Wed Nov 18 22:23:55 UTC 2015


On Wed, Nov 18, 2015 at 06:09:09PM +0000, Orion Poplawski wrote:
> It doesn't appear that strace currently decodes IN_PKTINFO information on
> recvmsg/sendto calls.  Is that correct?

Yes, the only cmsg decoding we have now is for cmsg_level == SOL_SOCKET types.

> How hard would it be to add it?

There is a function in the code called printcmsghdr, it could be extended
to handle other cmsg_level values I suppose.


-- 
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20151119/e58dbfb4/attachment.bin>


More information about the Strace-devel mailing list