lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [task #14247] socket API: implement recvmsg msg_control sup


From: Joel Cunningham
Subject: [lwip-devel] [task #14247] socket API: implement recvmsg msg_control support
Date: Tue, 25 Apr 2017 00:45:41 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:53.0) Gecko/20100101 Firefox/53.0

Follow-up Comment #18, task #14247 (project lwip):

New patch moves the flag to the netconn layer.  The netconn layer flag + using
the flag for the existing LWIP_NETBUF_RECVINFO feature resulted in a much
cleaner implementation, thanks for the suggestion :)

I went with defaulting netconn_alloc() to set NETCONN_FLAG_PKTINFO and then
lwip_socket() to clear the flag.  This should retain the previous behavior
when LWIP_NETBUF_RECVINFO was enabled

(file #40488)
    _______________________________________________________

Additional Item Attachment:

File name: 0001-sockets-task-14247-add-CMSG-and-IP_PKTINFO-conn-flag.patch
Size:15 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?14247>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]