diff options
author | Mike Chan <mike@android.com> | 2009-01-07 11:40:42 -0800 |
---|---|---|
committer | Arve Hjønnevåg <arve@android.com> | 2009-04-07 16:43:13 -0700 |
commit | 979c1983d7853eff0cead8e3338becfc70e6cf72 (patch) | |
tree | 558a2e5acb6f7fececd280f8833c3d7ee44df1ca /include | |
parent | 75090d40ffbd9b4863238e1d62b43f8598da5e5e (diff) |
uidstat: Adding uid stat driver to collect network statistics.
Signed-off-by: Mike Chan <mike@android.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/uid_stat.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/linux/uid_stat.h b/include/linux/uid_stat.h new file mode 100644 index 000000000000..fcd3ab1f8d3d --- /dev/null +++ b/include/linux/uid_stat.h @@ -0,0 +1,24 @@ +/* include/linux/uid_stat.h + * + * Copyright (C) 2008-2009 Google, Inc. + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef __uid_stat_h +#define __uid_stat_h + +/* Contains definitions for resource tracking per uid. */ + +extern int update_tcp_snd(uid_t uid, int size); +extern int update_tcp_rcv(uid_t uid, int size); + +#endif /* _LINUX_UID_STAT_H */ |