Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ rm -rf linux-stable/
- $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
- Cloning into 'linux-stable'...
- remote: Counting objects: 5932322, done.
- remote: Compressing objects: 100% (91876/91876), done.
- remote: Total 5932322 (delta 449291), reused 537675 (delta 446767)
- Receiving objects: 100% (5932322/5932322), 1.12 GiB | 7.32 MiB/s, done.
- Resolving deltas: 100% (4969139/4969139), done.
- Checking connectivity... done.
- Updating files in your work tree: 100% (59835/59835), done.
- $ cd linux-stable/
- $ git status
- On branch master
- Your branch is up-to-date with 'origin/master'.
- Changes not staged for commit:
- (use "git add <file>..." to update what will be committed)
- (use "git checkout -- <file>..." to discard changes in working directory)
- modified: include/uapi/linux/netfilter/xt_CONNMARK.h
- modified: include/uapi/linux/netfilter/xt_DSCP.h
- modified: include/uapi/linux/netfilter/xt_MARK.h
- modified: include/uapi/linux/netfilter/xt_RATEEST.h
- modified: include/uapi/linux/netfilter/xt_TCPMSS.h
- modified: include/uapi/linux/netfilter_ipv4/ipt_ECN.h
- modified: include/uapi/linux/netfilter_ipv4/ipt_TTL.h
- modified: include/uapi/linux/netfilter_ipv6/ip6t_HL.h
- modified: net/netfilter/xt_DSCP.c
- modified: net/netfilter/xt_HL.c
- modified: net/netfilter/xt_RATEEST.c
- modified: net/netfilter/xt_TCPMSS.c
- no changes added to commit (use "git add" and/or "git commit -a")
- $ git diff include/uapi/linux/netfilter/xt_CONNMARK.h | cat
- diff --git a/include/uapi/linux/netfilter/xt_CONNMARK.h b/include/uapi/linux/netfilter/xt_CONNMARK.h
- index 2f2e48e..efc17a8 100644
- --- a/include/uapi/linux/netfilter/xt_CONNMARK.h
- +++ b/include/uapi/linux/netfilter/xt_CONNMARK.h
- @@ -1,6 +1,31 @@
- -#ifndef _XT_CONNMARK_H_target
- -#define _XT_CONNMARK_H_target
- +#ifndef _XT_CONNMARK_H
- +#define _XT_CONNMARK_H
- -#include <linux/netfilter/xt_connmark.h>
- +#include <linux/types.h>
- -#endif /*_XT_CONNMARK_H_target*/
- +/* Copyright (C) 2002,2004 MARA Systems AB <http://www.marasystems.com>
- + * by Henrik Nordstrom <hno@marasystems.com>
- + *
- + * This program is free software; you can redistribute it and/or modify
- + * it under the terms of the GNU General Public License as published by
- + * the Free Software Foundation; either version 2 of the License, or
- + * (at your option) any later version.
- + */
- +
- +enum {
- + XT_CONNMARK_SET = 0,
- + XT_CONNMARK_SAVE,
- + XT_CONNMARK_RESTORE
- +};
- +
- +struct xt_connmark_tginfo1 {
- + __u32 ctmark, ctmask, nfmask;
- + __u8 mode;
- +};
- +
- +struct xt_connmark_mtinfo1 {
- + __u32 mark, mask;
- + __u8 invert;
- +};
- +
- +#endif /*_XT_CONNMARK_H*/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement