[Top][All Lists]

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

[lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, up

From: Joel Cunningham
Subject: [lwip-commits] [SCM] lwIP - A Lightweight TCPIP stack branch, master, updated. master_at_STABLE-2_0_0-329-g4c76fd5
Date: Fri, 17 Feb 2017 14:38:57 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "lwIP - A Lightweight TCPIP stack".

The branch, master has been updated
       via  4c76fd500c59f0fb38027f6c602641b1b79ae505 (commit)
      from  deaa6e94065f41dbdd6c7aec535b5247c0478d74 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 4c76fd500c59f0fb38027f6c602641b1b79ae505
Author: Joel Cunningham <address@hidden>
Date:   Fri Feb 17 13:26:16 2017 -0600

    Move write_offset from struct netconn to struct api_msg
    This moves the write_offset variable from struct netconn to struct api_msg
    This optimizes the storage by only having the space claimed when it is
    needed (during a netconn_write_partly() call) and not throughout the
    lifetime of the netconn
    This also reduces code space/execution by not having to separately manage
    clearing/checking write_offset from the current_msg pointer
    Lastly, we also save execution by using msg.w.offset as the output
    rather than marshaling the result to msg.w.len. Previously, len was used
    as input length of dataptr and output for the write operation.
    netconn_write_partly() also has access to msg.w.offset, so we can use


Summary of changes:
 src/api/api_lib.c               |  3 ++-
 src/api/api_msg.c               | 45 ++++++++++++++++-------------------------
 src/include/lwip/api.h          |  3 ---
 src/include/lwip/priv/api_msg.h |  3 +++
 4 files changed, 22 insertions(+), 32 deletions(-)

lwIP - A Lightweight TCPIP stack

reply via email to

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