Re: what network driver routines are invoked via "ifup" and "ifdown"?

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

 



I guess you're looking for net_device_ops https://elixir.bootlin.com/linux/latest/source/include/linux/netdevice.h#L874
Follow the comments, the definition is following it!

Regards,

2018-07-31 9:35 GMT-03:00 <rpjday@xxxxxxxxxxxxxx>:

  first time poking around network drivers, and i'm wondering what
platform driver routines are called when invoking ifup/ifdown from
user space (if any). i'm *assuming* (possibly incorrectly) that the
probe() and remove() routines are invoked only on loading and
unloading the driver, not simple ifup and ifdown.

  guidance, anyone?

rday


_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxg
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



--
“If you're going to try, go all the way. Otherwise, don't even start. ..."
  Charles Bukowski
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[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