Hi Wen,
I can understand your problem and frustration. However, there are two reasons I'm not really convinced by the proc file method:
1) AFAI, the proc method could consume many CPU time especially in case with a log of sockets to read the pseudo files.
2) We have already implemented the complex netlink method on the same purpose. I see the double expense to main the code.
Then the question is if the lack of dependency issue can be handle somehow, or the proc method is the only way to achieve this purpose?
Any opinion is welcome!
Thanks,
Wenjia