Hi, all
I have some problem to access file in kernel space
since I want to get the info about current connection status(tcp/udp flow, local in or forwading ) in my module
with ip_contrack/netfilter not compiled in
I know no other ways to get this info but to access /proc/net/tcp or proc/net/udp ....
but both sys_read() and proc_read() are not exposed as a kernel symbol,
I get no way to access the proc/net/tcp from kernel.....
any function available to access file in kernel?
or is there other method for me to get connection information in kernel
Appreciate for youe reply
Steve