[Top][All Lists]

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

[lwip-devel] [task #14314] Implement interface name/index APIs

From: Dirk Ziegelmeier
Subject: [lwip-devel] [task #14314] Implement interface name/index APIs
Date: Wed, 1 Feb 2017 12:38:21 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0

Follow-up Comment #28, task #14314 (project lwip):

I'm unsure about this. Best solution would be the user has to specify a number
at netif_add(), but that would be a breaking change.

On the other hand, a simple loop checking netif->num is not much code, and for
systems with few netifs it is not much runtime overhead. So I think the code
can be added to netif.c.

Last question: Do we need to guard it with yet-another-#ifdef? I think not,
until someone complains :-)


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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