lwip-devel
[Top][All Lists]
Advanced

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

Re: [lwip-devel] IPv6 related implementation in Udp.c


From: Ivan Delamer
Subject: Re: [lwip-devel] IPv6 related implementation in Udp.c
Date: Wed, 04 Sep 2013 10:07:52 -0600

First you must be using the Head version of LwIP from the GIT repository, release versions still don't contain the IPv6 code.

If you are using netconn API you can use the macros such as netconn_sendto_ip6()

Otherwise, you can just cast your IPv6 address pointer to an IPv4 address pointer, and make sure that pcb->isipv6 is set. The stack will internally recognize the address as IPv6.

You can also use the ip6_to_ipX macros to turn an ip6 address into something neutral to pass into the stack.

Cheers
Ivan



Date: Tue, 03 Sep 2013 22:23:02 -0700 (PDT)
From: address@hidden
To: address@hidden
Subject: [lwip-devel] IPv6 related implementation in Udp.c
Message-ID: <address@hidden>
Content-Type: text/plain; charset="us-ascii"

An HTML attachment was scrubbed...
URL:
<http://lists.nongnu.org/archive/html/lwip-devel/attachments/20130903/e85beaf2/attachment.html>




reply via email to

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