netdev
[Top] [All Lists]

[patch] Link state reporting

To: netdev@xxxxxxxxxxx, vojtech@xxxxxxx, becker@xxxxxxxxx
Subject: [patch] Link state reporting
From: Brad Hards <bhards@xxxxxxxxxxxxxx>
Date: Mon, 26 Nov 2001 23:25:09 +1100
Sender: owner-netdev@xxxxxxxxxxx
In a momentary fit of coding over designing, I copied some vaguely related
code and made a link state reporting proc interface. I also patched a couple
of drivers (USB CATC and PCMCIA 3c574) to give me something to test with.
Here is what the /proc interface looks like, this example showing what happens
when you disconnect the crossover cable between the two test devices:
Inter-| Link 
 face | Status
    lo:Link Good
  eth0:Link Good
  eth1:Link Failed
  eth2:Link Failed

Any comments or thoughts on this?

Brad

Attachment: linkstate.patch
Description: Binary data

<Prev in Thread] Current Thread [Next in Thread>