lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #20409] Add netif callback function for link change ev


From: Frédéric Bernon
Subject: [lwip-devel] [bug #20409] Add netif callback function for link change event
Date: Tue, 10 Jul 2007 21:07:13 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4

Follow-up Comment #14, bug #20409 (project lwip):

>Since linkoutput is defined to return err_t, we can use ERR_CONN (link
down). ERR_BUF or ERR_MEM would work for other types of errors. I would
suggest creating a new bug to address this issue and the code changes
required. 

I'm not sure that ERR_CONN is good (from memory, it's more "conn" like
"netconn"). Perhaps we could add a new error code ? ERR_LDOWN or something
like that. About ERR_BUG & ERR_MEM, since the "close" in api_msg.c check
exactly the return value, I think we have to decide which code to return. I
think a documentation about "lwIP driver design" will be good...

>Would this be a mandatory feature of a version 1.3 driver, or would it
become optional via a flag (just like the status_callback function is)?

In a general way, a feature which is not useful for everyone should be
optionnal. Since until now, no user ask for it, I think it's more optionnal
than mandatory (like the status_callback).



    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?20409>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/





reply via email to

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