blob: ac826ff1ab1150c3d558a6393bb0edcc161edac2 [file] [log] [blame]
Nicholas Flintham1e3d3112013-04-10 10:48:38 +01001/* 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
20#ifdef CONFIG_UID_STAT
21int uid_stat_tcp_snd(uid_t uid, int size);
22int uid_stat_tcp_rcv(uid_t uid, int size);
23int uid_stat_udp_snd(uid_t uid, int size);
24int uid_stat_udp_rcv(uid_t uid, int size);
25#else
26#define uid_stat_tcp_snd(uid, size) do {} while (0);
27#define uid_stat_tcp_rcv(uid, size) do {} while (0);
28#define uid_stat_udp_snd(uid, size) do {} while (0);
29#define uid_stat_udp_rcv(uid, size) do {} while (0);
30#endif
31
32#endif