I am trying to write a C program to iterate through /proc/net and obtain the specified network protocols in the net array.
/proc/net
net
The code is curre