lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] bind with link down


From: address@hidden
Subject: Re: [lwip-users] bind with link down
Date: Thu, 2 Apr 2020 20:30:06 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0

Am 31.03.2020 um 22:47 schrieb Massimiliano Cialdi:
> On Tue, Mar 31, 2020 at 10:11 PM Simon Goldschmidt <address@hidden> wrote:
>> You're mixing link state with admin state here. That might work, but
>> might not work in some situations.
> It's not so clear to me.
> Which pattern should I adopt to keep the link status under control?
> What do you mean by 'admin state'?

"Admin state" is "netif_set_up()".

> How should the admin state be affected by the link state?

Not at all. Just call "netif_set_link_up()" or down when you found out a
state change. Leave "netif_set_up()" as it is.

Regards,
Simon



reply via email to

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