Which kernel function will be invoked when I run: cat /proc/net/dev ?
Mariusz Ziulek
2009/5/18 Mariusz Ziulek <mz.mzet@xxxxxxxxx>
Hi Folks,
I'm looking for a function which is called when /proc/net/dev file is read. Member read_proc in proc_dir_entry for this file is set to NULL so I guess it must use seq_file interface but I can't find where it is initialized.
Idea is to overwrite existing function responsible for reading this file to hide particular network traffic.
Thanks in advance.
Regards,
Mariusz Ziulek