[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: Simon Goldschmidt
Subject: [lwip-devel] [task #14314] Implement interface name/index APIs
Date: Mon, 30 Jan 2017 20:11:00 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

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


good catch on PPP uniqueness. I'm with you that we should support systems
adding/removing netifs at runtime (just like PPP does). I've always wondered
how that could have worked, but netif->num just hasn't been used by the stack
so far (it just existed as a struct netif member to be accessed by foreign

I'm not convinced this should be in the netif's init callback, although
overriding it for speed might be necessary for some setups (are there setups
with more than 256 netifs?). However, in that case the linked list of netifs
becomes a slowdown factor in other parts of the code that are executed more
often (e.g. routing on TX)...


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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