[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [task #14247] socket API: implement recvmsg
From: |
Joel Cunningham |
Subject: |
[lwip-devel] [task #14247] socket API: implement recvmsg |
Date: |
Wed, 23 Nov 2016 14:51:25 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:50.0) Gecko/20100101 Firefox/50.0 |
Follow-up Comment #1, task #14247 (project lwip):
Glad to see this as a task, recvmsg has been on my backlog for a while :)
I believe there is no open group standards for the message types and it ends
up being fairly platform dependent.
Linux, NetBSD, and Windows use IP_PKTINFO, but struct in_pktinfo is different
on the platforms.
Linux <http://www.man-pages.net/7/ip>
NetBSD <https://www.daemon-systems.org/man/ip.4.html>
Windows
<https://msdn.microsoft.com/en-us/library/windows/desktop/ms738572(v=vs.85).aspx>
FreeBSD has IP_RECVDSTADDR
<https://www.freebsd.org/cgi/man.cgi?query=ip&apropos=0&sektion=0&manpath=FreeBSD+9.0-RELEASE&arch=default&format=html>
For LwIP, I guess we get to pick which option and if IP_PKTINFO, the
definition of struct in_pktinfo
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/task/?14247>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/