Home
last modified time | relevance | path

Searched refs:generic_proc_open (Results 1 – 3 of 3) sorted by relevance

/external/iproute2/misc/
Dnstat.c46 static int generic_proc_open(const char *env, char *name) in generic_proc_open() function
60 return generic_proc_open("PROC_NET_NETSTAT", "net/netstat"); in net_netstat_open()
65 return generic_proc_open("PROC_NET_SNMP", "net/snmp"); in net_snmp_open()
70 return generic_proc_open("PROC_NET_SNMP6", "net/snmp6"); in net_snmp6_open()
Dss.c116 static FILE *generic_proc_open(const char *env, const char *name) in generic_proc_open() function
132 return generic_proc_open("PROC_NET_TCP", "net/tcp"); in net_tcp_open()
137 return generic_proc_open("PROC_NET_TCP6", "net/tcp6"); in net_tcp6_open()
142 return generic_proc_open("PROC_NET_UDP", "net/udp"); in net_udp_open()
147 return generic_proc_open("PROC_NET_UDP6", "net/udp6"); in net_udp6_open()
152 return generic_proc_open("PROC_NET_RAW", "net/raw"); in net_raw_open()
157 return generic_proc_open("PROC_NET_RAW6", "net/raw6"); in net_raw6_open()
162 return generic_proc_open("PROC_NET_UNIX", "net/unix"); in net_unix_open()
167 return generic_proc_open("PROC_NET_PACKET", "net/packet"); in net_packet_open()
172 return generic_proc_open("PROC_NET_NETLINK", "net/netlink"); in net_netlink_open()
[all …]
Drtacct.c46 static int generic_proc_open(const char *env, const char *name) in generic_proc_open() function
60 return generic_proc_open("PROC_NET_RTACCT", "net/rt_acct"); in net_rtacct_open()