[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [patch #7696] contrib: Allow apps/tcpecho_raw be used with
From: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [patch #7696] contrib: Allow apps/tcpecho_raw be used with IPv6 |
Date: |
Fri, 20 Jan 2012 21:08:43 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0.1) Gecko/20100101 Firefox/8.0.1 |
Follow-up Comment #1, patch #7696 (project lwip):
> 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?
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?7696>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lwip-devel] [patch #7696] contrib: Allow apps/tcpecho_raw be used with IPv6,
Simon Goldschmidt <=