This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to let network stack know the netif down?


I am using dp83902 ethernet driver in my target.

If the netif is connected to ethernet, it works fine. But if I disconnect the cabel, the netif remains in UP state.

So how to let network stack know this condition and shutdown this netif? And when the cable is reconnected, I want it to redo the DHCP operations.

Thanks in advance!

_________________________________________________________________
免费下载 MSN Explorer: http://explorer.msn.com/lccn/



-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]