Where is struct proc_dir_entry
defined in linux kernel?
in /linux/proc_fs.h
it is just declared as: (kernel 3.10)
struct proc_dir_entry;
and I think because of this I get this error:
dereferencing pointer to incomplete type
at this line of code though including /linux/proc_fs.h
:
while(strcmp (my_dir_entry->name,"tcp"))
It is defined in
fs/proc/internal.h
.