patchlwIP - A Lightweight TCP/IP stack - Patches: patch #7696, contrib: Allow apps/tcpecho_raw be...

 
 

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

patch #7696: contrib: Allow apps/tcpecho_raw be used with IPv6

Submitter:  Philipp Tölke <philipptoelke>
Submitted:  Wed 28 Dec 2011 09:29:18 PM UTC
   
 
Category:  IPv6 Priority:  5 - Normal
Status:  Invalid Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Planned Release:  None

Wed 11 Feb 2015 08:55:13 PM UTC, comment #2: 

Closing since this patch is invalid and we've got task #12411 (Contrib apps should support IPv6) to not forget about this.

Simon Goldschmidt <goldsimon>
Group administrator
Fri 20 Jan 2012 09:08:43 PM UTC, comment #1: 


> I am not sure if it is correct to just sed ->isipv6 on a pcb,


It's certainly not! Accessing members of structs is never the correct way, it's a pity C doesn't allow us to hide them.

> but I found no API for it.


You'll have to decide for a protocol version when you create the pcb by calling tcp_new_ip6() instead of tcp_new(). However, the API in deciding between v4 and v6 isn't really satisfying, yet. The creation and the address handling (ipX_addr_t) doesn't work neatly everywhere.

Also, wouldn't tcp_listen_dual() be a better solution here to listen on both protocols?

Simon Goldschmidt <goldsimon>
Group administrator
Wed 28 Dec 2011 09:29:18 PM UTC, original submission:  

When trying the application tcpecho_raw to evaluate tcp, I noticed it does not support IPv6. Please see attached patch.

I am not sure if it is correct to just sed ->isipv6 on a pcb, but I found no API for it.

Regards,
Philipp

Philipp Tölke <philipptoelke>

 

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

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by philipptoelke (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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-11 goldsimon StatusNone Invalid
        Open/ClosedOpen Closed
    2013-01-15 goldsimon CategoryNone IPv6
    2011-12-28 philipptoelke Attached File- Added 0001-Allow-the-tcpecho_raw-application-be-used-with-ipv6.patch, #24708

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code