blob: 6bd6c4e52d17c6d7da55d9b8b5993fc959d229db [file] [log] [blame]
Mike Chan5a0b3542009-01-07 11:40:42 -08001/* include/linux/uid_stat.h
2 *
3 * Copyright (C) 2008-2009 Google, Inc.
4 *
5 * This software is licensed under the terms of the GNU General Public
6 * License version 2, as published by the Free Software Foundation, and
7 * may be copied, distributed, and modified under those terms.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 */
15
16#ifndef __uid_stat_h
17#define __uid_stat_h
18
19/* Contains definitions for resource tracking per uid. */
20
21#ifdef CONFIG_UID_STAT
22int uid_stat_tcp_snd(uid_t uid, int size);
23int uid_stat_tcp_rcv(uid_t uid, int size);
24#else
25#define uid_stat_tcp_snd(uid, size) do {} while (0);
26#define uid_stat_tcp_rcv(uid, size) do {} while (0);
27#endif
28
29#endif /* _LINUX_UID_STAT_H */