Sivaram Kakarla Sivaram Kakarla - 8 months ago 76
Linux Question

where we are writing to /proc/net/xt_qtaguid?

In android_net_TrafficStats.cpp and driver_wired.c /proc/net/xt_qtaguid file is reading. I searched fully but i did not find from where this file getting write.

Please help me in finding the file in which we are opening /proc/net/xt_qtaguid file in write mode.


The documentation says:

The per-application/delegated data usage monitoring and tracking functionality relies on the xt_qtaguid module in the android-3.0 Linux kernel (kernel/net/netfilter/xt_qtaguid).

This file is never opened for writing; its contents are provided by the kernel.