[vortex] detecting ethernet link up/down from user program

Bogdan Costescu Bogdan.Costescu at iwr.uni-heidelberg.de
Mon Sep 5 05:13:47 PDT 2005


On Wed, 31 Aug 2005, vinay kumar wrote:

> I want to write a user program which could detect link up/down event on 
> network interface. 

Look in the archive of the "netdev" mailing list for "netlink".

However, the netlink messages are only generated when the driver 
detects the link up/down event. For 3c59x driver, this is timer 
driven, so it might take some time (up to 60 seconds for MII capable 
cards) from the time the link has change state until the situation is 
detected.

-- 
Bogdan Costescu

IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu at IWR.Uni-Heidelberg.De



More information about the vortex mailing list