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