mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

56 lines
2.0 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/linux/linux24/95-inet-for-userspace.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2004 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. The in.h file need protection for some defines where the types are not known
  20. to the user-space and pkt_sched.h missed the inclusion of the types.h
  21. header which types it utilizes ...
  22. - Rene Rebe <rene@exactcode.de>
  23. --- ./include/linux/in.h.orig 2003-08-28 22:11:50.000000000 +0200
  24. +++ ./include/linux/in.h 2003-08-28 22:12:27.000000000 +0200
  25. @@ -135,6 +135,8 @@
  26. (sizeof(struct ip_msfilter) - sizeof(__u32) \
  27. + (numsrc) * sizeof(__u32))
  28. +#ifdef __KERNEL__
  29. +
  30. struct group_req
  31. {
  32. __u32 gr_interface; /* interface index */
  33. @@ -161,6 +163,8 @@
  34. (sizeof(struct group_filter) - sizeof(struct sockaddr_storage) \
  35. + (numsrc) * sizeof(struct sockaddr_storage))
  36. +#endif
  37. +
  38. struct in_pktinfo
  39. {
  40. int ipi_ifindex;
  41. --- ./include/linux/pkt_sched.h.orig 2003-08-28 22:20:44.000000000 +0200
  42. +++ ./include/linux/pkt_sched.h 2003-08-28 22:21:11.000000000 +0200
  43. @@ -1,6 +1,8 @@
  44. #ifndef __LINUX_PKT_SCHED_H
  45. #define __LINUX_PKT_SCHED_H
  46. +#include <linux/types.h>
  47. +
  48. /* Logical priority bands not depending on specific packet scheduler.
  49. Every scheduler will map them to real traffic classes, if it has
  50. no more precise mechanism to classify packets.