Re: [lwip-users] lwip IPV6 PPP only get link local address and cannot connect to server

2021-11-11 Thread Jiang Peng
Hi Sylvain, thanks for the reply. Today I tried the latest LwIP 2.1.3. I enabled LWIP_IPV6_DHCP6, LWIP_IPV6 build option. I see nd6_send_rs get called, but still cannot get the IPV6 unicast IP address from my ISP, only get LL address. Any suggestions are really appreciated. thanks Ivan ppposif UT

Re: [lwip-users] Wait queue order for mutex, semaphore, mailbox?

2021-11-11 Thread goldsi...@gmx.de
Am 11.11.2021 um 21:46 schrieb Grant Edwards: On 2021-11-11, goldsi...@gmx.de wrote: Am 11.11.2021 um 17:36 schrieb Grant Edwards: What should the wait queue order be for lwIP mailboxes, mutexes, and semaphores? The port I'm trying to fix-up and get running is configuring all for FIFO wait qu

Re: [lwip-users] [EXTERNAL] lwip IPV6 PPP only get link local address and cannot connect to server

2021-11-11 Thread Jiang Peng
Hi Edman, Thanks a lot for the information. It appears that is the same issue I faced. I tried your suggestion, to add nd6_send_rs, but nothing happened, or I just add it in wrong place(I call it in ppposif.c). Could you please shed some light on how to send this rs? Upgrading to 2.1.3 may not be a

Re: [lwip-users] Question about sys_arch.c *_free() vs. *_~set_invalid()

2021-11-11 Thread Grant Edwards
On 2021-11-11, Grant Edwards wrote: > In the code I've inherited, when *_free() is called, my sys_arch.c > code places the referenced kernel object (semaphore or mailbox) back > into the free pool and it becomes available to be reallocated and > placed into use. > Apparently the sequence is > >

[lwip-users] DCHP and netconn

2021-11-11 Thread Addi_G De
Can anyboy help in my question Ive got netconn TCP conecction based on static API But now I need to use DHCP My question is can I use nectonn API in this case I asking cause I didnt gind any API to do it in netconn sources Also Its neccassy to use ethernetif_notify_conn_changed, can I mix this lev

Re: [lwip-users] Question about sys_arch.c *_free() vs. *_~set_invalid()

2021-11-11 Thread Grant Edwards
On 2021-11-11, Grant Edwards wrote: > [Sorry for all of the porting questions, but the sys_arch.c file I'm > working with just doesn't seem to make sense.] > > I don't understand how *_free() and *_set_invalid() are supposed to > interact. > > In the code I've inherited, when *_free() is called,

[lwip-users] Question about sys_arch.c *_free() vs. *_~set_invalid()

2021-11-11 Thread Grant Edwards
[Sorry for all of the porting questions, but the sys_arch.c file I'm working with just doesn't seem to make sense.] I don't understand how *_free() and *_set_invalid() are supposed to interact. In the code I've inherited, when *_free() is called, my sys_arch.c code places the referenced kernel ob

Re: [lwip-users] Wait queue order for mutex, semaphore, mailbox?

2021-11-11 Thread Grant Edwards
On 2021-11-11, goldsi...@gmx.de wrote: > Am 11.11.2021 um 17:36 schrieb Grant Edwards: >> What should the wait queue order be for lwIP mailboxes, mutexes, and >> semaphores? >> >> The port I'm trying to fix-up and get running is configuring all for >> FIFO wait queues. > > I'm not sure I understan

Re: [lwip-users] Wait queue order for mutex, semaphore, mailbox?

2021-11-11 Thread goldsi...@gmx.de
Am 11.11.2021 um 17:36 schrieb Grant Edwards: What should the wait queue order be for lwIP mailboxes, mutexes, and semaphores? The port I'm trying to fix-up and get running is configuring all for FIFO wait queues. I'm not sure I understand your question. Do you mean 'if multiple threads are wa

[lwip-users] Wait queue order for mutex, semaphore, mailbox?

2021-11-11 Thread Grant Edwards
What should the wait queue order be for lwIP mailboxes, mutexes, and semaphores? The port I'm trying to fix-up and get running is configuring all for FIFO wait queues. ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/l

Re: [lwip-users] [EXTERNAL] lwip IPV6 PPP only get link local address and cannot connect to server

2021-11-11 Thread Zayzay, Edman G
Hi Ivan, You need to explicitly send a router solicitation to the network in other to get the full IPv6 Address. The function to call is nd6_send_rs() in n6.c . However, this is a static function and you may have to create a wrapper to call it. As of yesterday, LWIP 2.1.3 was released and the

Re: [lwip-users] lwip IPV6 PPP only get link local address and cannot connect to server

2021-11-11 Thread Sylvain Rochet
Hi, On Thu, Nov 11, 2021 at 10:40:09AM +1100, Jiang Peng wrote: > Hi everyone, > I have a project that is running LwIP V2.1.2. The stack is LwIP on top of > BG96 cellular modem. > It works fine for IPV4, but when I enable IPV6, I only get IPV6 link local > address, and cannot get real IPV6 address