lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] IPV6 udp_send() fails when enabling Dual Stack(IPV4 and IPv


From: cy-arsm
Subject: [lwip-devel] IPV6 udp_send() fails when enabling Dual Stack(IPV4 and IPv6) configuration and with multiple interface
Date: Sun, 1 Mar 2020 23:08:52 -0700 (MST)

Hi,

In my current project i have enabled Dual Stack (IPv4 and IPv6) with
multiple interfaces.

My query : How to send IPV6 udp packet from the second interface when source
address is 0?
I'm binding the socket with port only.

Trying the below sequence:
        - Add interface-1 to the netif list, bring up interface-1.
        - send and receive the IPv4 and IPv6 packets with interface-1.
        - Bring down interface-1.
        - Add interface-2 to netif list, bring up interface-2.
        - send and receive the IPv4 packets with interface-2.
        - send multicast link-local IPv6 packets with interface-2. udp_send() 
FAIL,
since ip6_route() returns interface as NULL.

Please give some solution. 

Thank you,



--
Sent from: http://lwip.100.n7.nabble.com/lwip-devel-f11621.html



reply via email to

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