I am trying to compile my own Linux for embededd devices, using the OpenWRT distribution. I am trying to get some Multicast information using the /proc/net/netstat interface but it is not found (normally this is available on my desktop).
If I am right this should be enabled in the kernel_menuconfig but I am not able to find any option related to this.
UPDATE: i was trying with kernel 3.10.49and 4.4.14. In both cases proc.c is compiled (proc.o is available in my build_dir, /proc is mounted, but /proc/net/netstat does not exists.

/proc? Is it mounted? In 4.9.6/proc/net/netstatis implemented innet/ipv4/proc.c. Would there be some reason that's not getting compiled in your case?/procis mounted, and many files also exists (i.e./proc/net/udp) I have checked mybuild_dirandnet/ipv4/proc.ois compiled. And you are right, there are entries in theproc.cfor creating the/proc/net/netstatentry, but havent find any macro which can exclude this during compiling the kernel.