[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: |
Jared Grubb |
Subject: |
[lwip-devel] [bug #20409] Add netif callback function for link change event |
Date: |
Tue, 10 Jul 2007 18:10:06 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 |
Follow-up Comment #8, bug #20409 (project lwip):
> current "up" and "down" have only a sense for the stack & the application,
not for driver
I agree that the UP and DOWN are primarily for the application and stack.
But, a driver does care about UP and DOWN. For example, if the interface is
DOWN, then the driver can turn its RX and TX circuts off (to save power, for
example). Driver initialization is a one-time thing, but "start" and "stop"
can happen repeatedly if the interface is brought up and down in the code.
> But we could say it's not directly the driver which have to do that, but
the "event" signaled by the driver.
I suggested the callback function, but I think your event is much better.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?20409>
_______________________________________________
Message sent via/by 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, 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 <=
- [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
- [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, Simon Goldschmidt, 2007/07/11
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Jared Grubb, 2007/07/11
- [lwip-devel] [bug #20409] Add netif callback function for link change event, Simon Goldschmidt, 2007/07/11