Advertisement
Guest User

Untitled

a guest
May 16th, 2017
605
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.61 KB | None | 0 0
  1. $ rm -rf linux-stable/
  2. $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
  3. Cloning into 'linux-stable'...
  4. remote: Counting objects: 5932322, done.
  5. remote: Compressing objects: 100% (91876/91876), done.
  6. remote: Total 5932322 (delta 449291), reused 537675 (delta 446767)
  7. Receiving objects: 100% (5932322/5932322), 1.12 GiB | 7.32 MiB/s, done.
  8. Resolving deltas: 100% (4969139/4969139), done.
  9. Checking connectivity... done.
  10. Updating files in your work tree: 100% (59835/59835), done.
  11. $ cd linux-stable/
  12. $ git status
  13. On branch master
  14. Your branch is up-to-date with 'origin/master'.
  15. Changes not staged for commit:
  16. (use "git add <file>..." to update what will be committed)
  17. (use "git checkout -- <file>..." to discard changes in working directory)
  18.  
  19. modified: include/uapi/linux/netfilter/xt_CONNMARK.h
  20. modified: include/uapi/linux/netfilter/xt_DSCP.h
  21. modified: include/uapi/linux/netfilter/xt_MARK.h
  22. modified: include/uapi/linux/netfilter/xt_RATEEST.h
  23. modified: include/uapi/linux/netfilter/xt_TCPMSS.h
  24. modified: include/uapi/linux/netfilter_ipv4/ipt_ECN.h
  25. modified: include/uapi/linux/netfilter_ipv4/ipt_TTL.h
  26. modified: include/uapi/linux/netfilter_ipv6/ip6t_HL.h
  27. modified: net/netfilter/xt_DSCP.c
  28. modified: net/netfilter/xt_HL.c
  29. modified: net/netfilter/xt_RATEEST.c
  30. modified: net/netfilter/xt_TCPMSS.c
  31.  
  32. no changes added to commit (use "git add" and/or "git commit -a")
  33.  
  34. $ git diff include/uapi/linux/netfilter/xt_CONNMARK.h | cat
  35. diff --git a/include/uapi/linux/netfilter/xt_CONNMARK.h b/include/uapi/linux/netfilter/xt_CONNMARK.h
  36. index 2f2e48e..efc17a8 100644
  37. --- a/include/uapi/linux/netfilter/xt_CONNMARK.h
  38. +++ b/include/uapi/linux/netfilter/xt_CONNMARK.h
  39. @@ -1,6 +1,31 @@
  40. -#ifndef _XT_CONNMARK_H_target
  41. -#define _XT_CONNMARK_H_target
  42. +#ifndef _XT_CONNMARK_H
  43. +#define _XT_CONNMARK_H
  44.  
  45. -#include <linux/netfilter/xt_connmark.h>
  46. +#include <linux/types.h>
  47.  
  48. -#endif /*_XT_CONNMARK_H_target*/
  49. +/* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com>
  50. + * by Henrik Nordstrom <hno@marasystems.com>
  51. + *
  52. + * This program is free software; you can redistribute it and/or modify
  53. + * it under the terms of the GNU General Public License as published by
  54. + * the Free Software Foundation; either version 2 of the License, or
  55. + * (at your option) any later version.
  56. + */
  57. +
  58. +enum {
  59. + XT_CONNMARK_SET = 0,
  60. + XT_CONNMARK_SAVE,
  61. + XT_CONNMARK_RESTORE
  62. +};
  63. +
  64. +struct xt_connmark_tginfo1 {
  65. + __u32 ctmark, ctmask, nfmask;
  66. + __u8 mode;
  67. +};
  68. +
  69. +struct xt_connmark_mtinfo1 {
  70. + __u32 mark, mask;
  71. + __u8 invert;
  72. +};
  73. +
  74. +#endif /*_XT_CONNMARK_H*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement