patchlwIP - A Lightweight TCP/IP stack - Patches: patch #7815, Minor RFC2553 compatibility...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7815: Minor RFC2553 compatibility additions

Submitter:  James Smith <rallysmith>
Submitted:  Tue 03 Jul 2012 01:20:29 PM UTC
   
 
Category:  sockets/netconn Priority:  3 - Low
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Thu 20 Feb 2014 03:11:37 PM UTC, comment #4: 

Added inet_ntop/pton, the rest was already there by now.

Thanks for the patch.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 18 Sep 2012 04:01:28 AM UTC, comment #3: 

The patch is more than IPv6, I mean, the IPv6 portion looks OK to me. But I think we need a unix/posix expert to assess this and possibly commit it. It doesn't look like it would break anything, however, I'd like someone who uses the unix port to work it in.

Cheers
Ivan

Ivan Delamer <idelamer>
Group Member
Fri 14 Sep 2012 12:26:28 PM UTC, comment #2: 

Ivan: as this is IPV6 code would you like to comment?

Kieran Mansley <kieranm>
Group Member
Thu 12 Jul 2012 08:44:36 AM UTC, comment #1: 

Attaching an updated patch that fixes a silly bug in the use of NULL instead of 0 as the "invalid" return from the inet_pton macros.

(file #26184)

James Smith <rallysmith>
Tue 03 Jul 2012 01:20:29 PM UTC, original submission:  

The attached patch should not affect any existing code (assuming no client-application name-clashes).

It purely provides some (RFC#2553) definitions that can be used to allow application writers portability with other BSD-alike implementations.

NOTE: This is enlightened self-interest in that I have client code that runs under Linux and FreeBSD systems and this avoids having to have lwIP conditionals in that code for the lwIP targets :-)

James Smith <rallysmith>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #26184:  sockets.h.patch added by rallysmith (3KiB - application/octet-stream - Updated patch to fix silly inet_pton macro "invalid" return (NULL -> 0))
file #26143:  sockets.h.patch added by rallysmith (3KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Updated the item)
  • -email is unavailable- added by idelamer (Posted a comment)
  • -email is unavailable- added by kieranm (Posted a comment)
  • -email is unavailable- added by rallysmith (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-20 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2013-01-15 goldsimon CategoryNone sockets/netconn
    2012-09-18 idelamer Assigned toidelamer None
    2012-09-14 kieranm Assigned toNone idelamer
    2012-07-12 rallysmith Attached File- Added sockets.h.patch, #26184
    2012-07-03 rallysmith Attached File- Added sockets.h.patch, #26143

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code