[network device] notifier of state

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

 



Hello all,

Is it possible to get notified by changes on the state of a network device?
(e.g. cable [un]plugged...)

I tried to register a network notifier block to get events but this doesnt do
that.

The variable "state" of the struct net_device seems to be the information i
need, but i dont want to be polling all the time...

any idea?

Thanks,
/Seb.

--
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