| To: | "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>, VLAN Mailing List <vlan@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | How to know the ethernet LINK is down. |
| From: | Ben Greear <greearb@xxxxxxxxxxxxxxx> |
| Date: | Sat, 26 Feb 2000 11:47:06 -0700 |
| Organization: | Candela Technologies |
| Sender: | owner-netdev@xxxxxxxxxxx |
I'm working on adding link-aggregation to VLANs and I want to be able to detect if a link is down (cable pulled, dead NIC, dead remote NIC...) Obviously, some errors will not be detectable. Right now, I'm planning on testing the ethernet netdevice->flags to see if IFF_UP is set. Will this do what I want? Are there other things I can check? Thanks, Ben -- Ben Greear (greearb@xxxxxxxxxxxxxxx) http://scry.wanfear.com/~greear Author of ScryMUD: scry.wanfear.com 4444 (Released under GPL) http://scry.wanfear.com |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: SIOCGIFCONF and IPv6 addresses, itojun |
|---|---|
| Next by Date: | Re: sin6_scope_id (Re: SIOCGIFCONF and IPv6 addresses), Yuji Sekiya |
| Previous by Thread: | How Flow Labels be used?, Ji Xiang |
| Next by Thread: | Re: How to know the ethernet LINK is down., Andi Kleen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |