diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-22 10:38:37 -0500 |
commit | fcc9d2e5a6c89d22b8b773a64fb4ad21ac318446 (patch) | |
tree | a57612d1888735a2ec7972891b68c1ac5ec8faea /include/linux/uid_stat.h | |
parent | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (diff) |
Diffstat (limited to 'include/linux/uid_stat.h')
-rw-r--r-- | include/linux/uid_stat.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/linux/uid_stat.h b/include/linux/uid_stat.h new file mode 100644 index 00000000000..6bd6c4e52d1 --- /dev/null +++ b/include/linux/uid_stat.h | |||
@@ -0,0 +1,29 @@ | |||
1 | /* 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 | ||
22 | int uid_stat_tcp_snd(uid_t uid, int size); | ||
23 | int 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 */ | ||