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

Daniel. danielhilst at gmail.com
Tue Jul 31 09:31:47 EDT 2018


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 at crashcourse.ca>:

>
>   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 at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>



-- 
“If you're going to try, go all the way. Otherwise, don't even start. ..."
  Charles Bukowski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180731/63488368/attachment.html>


More information about the Kernelnewbies mailing list