This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

What are the Starterware-specific changes to lwIP?

Genius 5820 points

Hi,

while comparing lwIP 1.4.0 which comes with Starterware with the original sources from download.savannah.gnu.org/.../ I found there are some differences (not in "ports"-section but in lwIP code itself). So my question: is there an overview/changelog somewhere that describes what has be changed and why?

Thanks!

  • There is no changelog to refer. The source is maintatined as is but for customization to the starterware. Are you looking for clarification on any specific modification?

    Regards,

    Ramesh D

  • Comparing to the original lwIP 1.4.0 I found following differences:

    - in err.c the error ERR_WOULDBLOCK does not exit and the error codes are mixed comparing to the original

    - in ipv4/ip.c there is a statement in ip_input() which seems to cause opposite behaviour:
    if (check_ip_src && current_iphdr_src.addr == IPADDR_ANY)

    vs.

    if (check_ip_src && !ip_addr_isany(&current_iphdr_src))

    - in core/mem.c the "static sys_mutex_t mem_mutex;" is encapsulated by an "#if !NO_SYS/#endif" which does not exist in original version

    And somewhere else some typedefs have been added that do not exist in original code.