Re: detecting the link failure of an interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi nitin,

There's a netif_carrier_ok(struct net_device *) call for this purpose.
I can't think of any better way other than doing a select on a file descriptor.
Is there a better way to do this?
I want to send some packets when there's change in the carrier status and I am looking for a generic solution other then hacking into the various drivers codes.

Thanks for any advices!

nitin panjwani wrote:

Hi All,
I am not sure if I should post this question over here
or not.

Is there a way to detect the link failure of an
interface. As if we run routing and link shuts on an
interface, down it doesn't bring the interface.. which
is really a bad thing for real time networks.

Is there some hardawre monitering tool which will help
me in detecting the link failure.

Thanks,
NItin



__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - Let the expert host your site
http://webhosting.yahoo.com
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/






--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux