The Android Open Source Project | 1dc9e47 | 2009-03-03 19:28:35 -0800 | [diff] [blame] | 1 | /**************************************************************************** |
| 2 | **************************************************************************** |
| 3 | *** |
| 4 | *** This header was automatically generated from a Linux kernel header |
| 5 | *** of the same name, to make information necessary for userspace to |
| 6 | *** call into the kernel available to libc. It contains only constants, |
| 7 | *** structures, and macros generated from the original header, and thus, |
| 8 | *** contains no copyrightable information. |
| 9 | *** |
| 10 | **************************************************************************** |
| 11 | ****************************************************************************/ |
| 12 | #ifndef _LINUX_SUNRPC_STATS_H |
| 13 | #define _LINUX_SUNRPC_STATS_H |
| 14 | |
| 15 | #include <linux/proc_fs.h> |
| 16 | |
| 17 | struct rpc_stat { |
| 18 | struct rpc_program * program; |
| 19 | |
| 20 | unsigned int netcnt, |
| 21 | netudpcnt, |
| 22 | nettcpcnt, |
| 23 | nettcpconn, |
| 24 | netreconn; |
| 25 | unsigned int rpccnt, |
| 26 | rpcretrans, |
| 27 | rpcauthrefresh, |
| 28 | rpcgarbage; |
| 29 | }; |
| 30 | |
| 31 | struct svc_stat { |
| 32 | struct svc_program * program; |
| 33 | |
| 34 | unsigned int netcnt, |
| 35 | netudpcnt, |
| 36 | nettcpcnt, |
| 37 | nettcpconn; |
| 38 | unsigned int rpccnt, |
| 39 | rpcbadfmt, |
| 40 | rpcbadauth, |
| 41 | rpcbadclnt; |
| 42 | }; |
| 43 | |
| 44 | #ifdef MODULE |
| 45 | |
| 46 | #endif |
| 47 | |
| 48 | #define proc_net_rpc NULL |
| 49 | #endif |