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: Sylvain Rochet
Subject: Re: [lwip-users] bind with link down
Date: Thu, 2 Apr 2020 23:25:17 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi Massimiliano,

On Thu, Apr 02, 2020 at 11:17:36PM +0200, Massimiliano Cialdi wrote:
> On Thu, Apr 2, 2020 at 8:33 PM address@hidden <address@hidden> wrote:
> > "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.
> what's the linux equivalent of 'admin state'? Which command could be
> used to change it? This might help me figure out what admin state is
> and what admin state is for.
> I only know
> ip link set <if> up/down
> This should be the equivalent of netif_set_link_up()/netif_set_link_down()

"ip link set <if> up/down" is interface administrative state.

Link state is whether the cable is plugged or unplugged, i.e. "ethtool" 
for linux equivalent.

Sylvain

Attachment: signature.asc
Description: Digital signature


reply via email to

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