Searched refs:generic_proc_open (Results 1 – 3 of 3) sorted by relevance
/external/iproute2/misc/ |
D | nstat.c | 50 static int generic_proc_open(const char *env, char *name) in generic_proc_open() function 64 return generic_proc_open("PROC_NET_NETSTAT", "net/netstat"); in net_netstat_open() 69 return generic_proc_open("PROC_NET_SNMP", "net/snmp"); in net_snmp_open() 74 return generic_proc_open("PROC_NET_SNMP6", "net/snmp6"); in net_snmp6_open()
|
D | ss.c | 296 static FILE *generic_proc_open(const char *env, const char *name) in generic_proc_open() function 312 return generic_proc_open("PROC_NET_TCP", "net/tcp"); in net_tcp_open() 317 return generic_proc_open("PROC_NET_TCP6", "net/tcp6"); in net_tcp6_open() 322 return generic_proc_open("PROC_NET_UDP", "net/udp"); in net_udp_open() 327 return generic_proc_open("PROC_NET_UDP6", "net/udp6"); in net_udp6_open() 332 return generic_proc_open("PROC_NET_RAW", "net/raw"); in net_raw_open() 337 return generic_proc_open("PROC_NET_RAW6", "net/raw6"); in net_raw6_open() 342 return generic_proc_open("PROC_NET_UNIX", "net/unix"); in net_unix_open() 347 return generic_proc_open("PROC_NET_PACKET", "net/packet"); in net_packet_open() 352 return generic_proc_open("PROC_NET_NETLINK", "net/netlink"); in net_netlink_open() [all …]
|
D | rtacct.c | 46 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()
|