uid_stat.h 899 B

123456789101112131415161718192021222324252627282930
  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. #ifndef __uid_stat_h
  16. #define __uid_stat_h
  17. /* Contains definitions for resource tracking per uid. */
  18. #ifdef CONFIG_UID_STAT
  19. int uid_stat_tcp_snd(uid_t uid, int size);
  20. int uid_stat_tcp_rcv(uid_t uid, int size);
  21. #else
  22. #define uid_stat_tcp_snd(uid, size) do {} while (0);
  23. #define uid_stat_tcp_rcv(uid, size) do {} while (0);
  24. #endif
  25. #endif /* _LINUX_UID_STAT_H */