[Top][All Lists]

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

[lwip-devel] [bug #44805] sendmsg implementation to support scatter/gath

From: Joel Cunningham
Subject: [lwip-devel] [bug #44805] sendmsg implementation to support scatter/gather IO
Date: Fri, 10 Apr 2015 21:20:18 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0


                 Summary: sendmsg implementation to support scatter/gather IO
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: jcunningham
            Submitted on: Fri 10 Apr 2015 09:20:17 PM GMT
                Category: sockets/netconn
                Severity: 3 - Normal
              Item Group: Feature Request
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: 
            lwIP version: git head



I've developed a sendmsg() addition to the sockets API.  It follows the Open
Group specification to provide support for scatter/gather IO from


My use case was to reduce memory bandwidth utilization in an embedded system
by removing memory copies.  The implementation does not support control
messages as that is not used for scatter/gather IO

sendmsg helps with this use case because it allows applications to send
vectored I/O data through LwIP without memory copying into a contiguous

I have compiled and tested the implementation against the master branch of
lwip.  I have also included two tests in socket_examples.c that exercise the
TCP and UDP cases.

I would like to work to get these patches submitted to master.



File Attachments:

Date: Fri 10 Apr 2015 09:20:17 PM GMT  Name: 0001-Sockets-add-sendmsg.patch 
Size: 6kB   By: jcunningham

Date: Fri 10 Apr 2015 09:20:17 PM GMT  Name:
0001-Added-sendmsg-tests-to-socket-examples.patch  Size: 6kB   By: jcunningham



Reply to this item at:


  Message sent via/by Savannah

reply via email to

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