[Top][All Lists]
[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: |
Simon Goldschmidt |
Subject: |
[lwip-devel] [bug #20409] Add netif callback function for link change event |
Date: |
Tue, 10 Jul 2007 10:40:02 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
Follow-up Comment #4, bug #20409 (project lwip):
> I think it should be an option, and not something "mandatory" if you don't
have such possibility...
You can make it like that: if the link is set up after initializing
(NETIF_FLAG_LINK_UP set), we can directly do all the stuff. If it's down
(NETIF_FLAG_LINK_UP not set) we can wait for the status callback to come. In
the satus callback, we can simply check the flag again.
About the driver return values: TCP will retry if the link is down, for UDP
you get back an error. Maybe we really should define a return value so
applications see this (we should have a look at opengroup.org and other OSes
what they return).
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20409>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Jared Grubb, 2007/07/09
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Frédéric Bernon, 2007/07/09
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Jared Grubb, 2007/07/09
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Frédéric Bernon, 2007/07/10
- [lwip-devel] [bug #20409] Add netif callback function for link change event,
Simon Goldschmidt <=
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Frédéric Bernon, 2007/07/10
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Jared Grubb, 2007/07/10
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Frédéric Bernon, 2007/07/10
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Jared Grubb, 2007/07/10
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Frédéric Bernon, 2007/07/10
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Jared Grubb, 2007/07/10
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Jared Grubb, 2007/07/10
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Frédéric Bernon, 2007/07/10
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Jared Grubb, 2007/07/10
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Frédéric Bernon, 2007/07/10