[Top][All Lists]

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

Re: [lwip-users] How get the IPV6 gateway address from interface

From: address@hidden
Subject: Re: [lwip-users] How get the IPV6 gateway address from interface
Date: Wed, 26 Sep 2018 20:34:14 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

On 26.09.2018 17:06, Steph wrote:

*About Lwip 2.0.2*

1) I am looking how can I retrive the IPV6 gateway address from an interface
under LwIP. There are no field to store this information in the interface

I'm not sure what gateway you mean. IPv6 is really different to IPv4 here. Maybe you want to read up on this a bit?
Routers etc. are not stored in the netif but in global lists in nd6.c.

2) I am not sur that the IPV4 gateway address in the interface structure is
provioned ?
   /** IP address configuration in network byte order */
   ip_addr_t ip_addr;
   ip_addr_t netmask;
   ip_addr_t gw;
#endif /* LWIP_IPV4 */

I'm not sure I understand 2)


reply via email to

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