Re: /proc/net/dev file

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

 



Shortly speaking:

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


[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