Searched refs:generic_proc_open (Results 1 – 3 of 3) sorted by relevance
/external/iproute2/misc/ |
D | nstat.c | 51 static int generic_proc_open(const char *env, char *name) in generic_proc_open() function 66 return generic_proc_open("PROC_NET_NETSTAT", "net/netstat"); in net_netstat_open() 71 return generic_proc_open("PROC_NET_SNMP", "net/snmp"); in net_snmp_open() 76 return generic_proc_open("PROC_NET_SNMP6", "net/snmp6"); in net_snmp6_open() 81 return generic_proc_open("PROC_NET_SCTP_SNMP", "net/sctp/snmp"); in net_sctp_snmp_open()
|
D | ss.c | 313 static FILE *generic_proc_open(const char *env, const char *name) in generic_proc_open() function 326 #define net_tcp_open() generic_proc_open("PROC_NET_TCP", "net/tcp") 327 #define net_tcp6_open() generic_proc_open("PROC_NET_TCP6", "net/tcp6") 328 #define net_udp_open() generic_proc_open("PROC_NET_UDP", "net/udp") 329 #define net_udp6_open() generic_proc_open("PROC_NET_UDP6", "net/udp6") 330 #define net_raw_open() generic_proc_open("PROC_NET_RAW", "net/raw") 331 #define net_raw6_open() generic_proc_open("PROC_NET_RAW6", "net/raw6") 332 #define net_unix_open() generic_proc_open("PROC_NET_UNIX", "net/unix") 333 #define net_packet_open() generic_proc_open("PROC_NET_PACKET", \ 335 #define net_netlink_open() generic_proc_open("PROC_NET_NETLINK", \ [all …]
|
D | rtacct.c | 46 static int generic_proc_open(const char *env, const char *name) in generic_proc_open() function 61 return generic_proc_open("PROC_NET_RTACCT", "net/rt_acct"); in net_rtacct_open()
|