Skip to content

Commit

Permalink
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/gi…
Browse files Browse the repository at this point in the history
…t/kaber/nf-next-2.6
  • Loading branch information
davem330 committed Sep 11, 2009
2 parents ec282e9 + 8a56df0 commit 9a0da0d
Show file tree
Hide file tree
Showing 107 changed files with 373 additions and 1,856 deletions.
25 changes: 0 additions & 25 deletions Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -264,31 +264,6 @@ Who: Thomas Gleixner <[email protected]>
---------------------------

What (Why):
- include/linux/netfilter_ipv4/ipt_TOS.h ipt_tos.h header files
(superseded by xt_TOS/xt_tos target & match)

- "forwarding" header files like ipt_mac.h in
include/linux/netfilter_ipv4/ and include/linux/netfilter_ipv6/

- xt_CONNMARK match revision 0
(superseded by xt_CONNMARK match revision 1)

- xt_MARK target revisions 0 and 1
(superseded by xt_MARK match revision 2)

- xt_connmark match revision 0
(superseded by xt_connmark match revision 1)

- xt_conntrack match revision 0
(superseded by xt_conntrack match revision 1)

- xt_iprange match revision 0,
include/linux/netfilter_ipv4/ipt_iprange.h
(superseded by xt_iprange match revision 1)

- xt_mark match revision 0
(superseded by xt_mark match revision 1)

- xt_recent: the old ipt_recent proc dir
(superseded by /proc/net/xt_recent)

Expand Down
3 changes: 2 additions & 1 deletion include/linux/netfilter/nfnetlink.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ struct nfgenmsg {
struct nfnl_callback
{
int (*call)(struct sock *nl, struct sk_buff *skb,
struct nlmsghdr *nlh, struct nlattr *cda[]);
const struct nlmsghdr *nlh,
const struct nlattr * const cda[]);
const struct nla_policy *policy; /* netlink attribute policy */
const u_int16_t attr_count; /* number of nlattr's */
};
Expand Down
4 changes: 2 additions & 2 deletions include/linux/netfilter/x_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ struct xt_mtdtor_param {
*/
struct xt_target_param {
const struct net_device *in, *out;
unsigned int hooknum;
const struct xt_target *target;
const void *targinfo;
unsigned int hooknum;
u_int8_t family;
};

Expand Down Expand Up @@ -407,7 +407,7 @@ extern int xt_check_target(struct xt_tgchk_param *,
unsigned int size, u_int8_t proto, bool inv_proto);

extern struct xt_table *xt_register_table(struct net *net,
struct xt_table *table,
const struct xt_table *table,
struct xt_table_info *bootstrap,
struct xt_table_info *newinfo);
extern void *xt_unregister_table(struct xt_table *table);
Expand Down
6 changes: 0 additions & 6 deletions include/linux/netfilter/xt_CONNMARK.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,6 @@ enum {
XT_CONNMARK_RESTORE
};

struct xt_connmark_target_info {
unsigned long mark;
unsigned long mask;
__u8 mode;
};

struct xt_connmark_tginfo1 {
__u32 ctmark, ctmask, nfmask;
__u8 mode;
Expand Down
17 changes: 0 additions & 17 deletions include/linux/netfilter/xt_MARK.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,6 @@

#include <linux/types.h>

/* Version 0 */
struct xt_mark_target_info {
unsigned long mark;
};

/* Version 1 */
enum {
XT_MARK_SET=0,
XT_MARK_AND,
XT_MARK_OR,
};

struct xt_mark_target_info_v1 {
unsigned long mark;
__u8 mode;
};

struct xt_mark_tginfo2 {
__u32 mark, mask;
};
Expand Down
5 changes: 0 additions & 5 deletions include/linux/netfilter/xt_connmark.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@
* (at your option) any later version.
*/

struct xt_connmark_info {
unsigned long mark, mask;
__u8 invert;
};

struct xt_connmark_mtinfo1 {
__u32 mark, mask;
__u8 invert;
Expand Down
36 changes: 0 additions & 36 deletions include/linux/netfilter/xt_conntrack.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,42 +32,6 @@ enum {
XT_CONNTRACK_DIRECTION = 1 << 12,
};

/* This is exposed to userspace, so remains frozen in time. */
struct ip_conntrack_old_tuple
{
struct {
__be32 ip;
union {
__u16 all;
} u;
} src;

struct {
__be32 ip;
union {
__u16 all;
} u;

/* The protocol. */
__u16 protonum;
} dst;
};

struct xt_conntrack_info
{
unsigned int statemask, statusmask;

struct ip_conntrack_old_tuple tuple[IP_CT_DIR_MAX];
struct in_addr sipmsk[IP_CT_DIR_MAX], dipmsk[IP_CT_DIR_MAX];

unsigned long expires_min, expires_max;

/* Flags word */
__u8 flags;
/* Inverse flags */
__u8 invflags;
};

struct xt_conntrack_mtinfo1 {
union nf_inet_addr origsrc_addr, origsrc_mask;
union nf_inet_addr origdst_addr, origdst_mask;
Expand Down
5 changes: 0 additions & 5 deletions include/linux/netfilter/xt_mark.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@

#include <linux/types.h>

struct xt_mark_info {
unsigned long mark, mask;
__u8 invert;
};

struct xt_mark_mtinfo1 {
__u32 mark, mask;
__u8 invert;
Expand Down
2 changes: 1 addition & 1 deletion include/linux/netfilter_arp/arp_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ struct arpt_error
}

extern struct xt_table *arpt_register_table(struct net *net,
struct xt_table *table,
const struct xt_table *table,
const struct arpt_replace *repl);
extern void arpt_unregister_table(struct xt_table *table);
extern unsigned int arpt_do_table(struct sk_buff *skb,
Expand Down
2 changes: 1 addition & 1 deletion include/linux/netfilter_bridge/ebtables.h
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ struct ebt_table
#define EBT_ALIGN(s) (((s) + (__alignof__(struct ebt_replace)-1)) & \
~(__alignof__(struct ebt_replace)-1))
extern struct ebt_table *ebt_register_table(struct net *net,
struct ebt_table *table);
const struct ebt_table *table);
extern void ebt_unregister_table(struct ebt_table *table);
extern unsigned int ebt_do_table(unsigned int hook, struct sk_buff *skb,
const struct net_device *in, const struct net_device *out,
Expand Down
32 changes: 0 additions & 32 deletions include/linux/netfilter_ipv4/Kbuild
Original file line number Diff line number Diff line change
@@ -1,46 +1,14 @@
header-y += ipt_CLASSIFY.h
header-y += ipt_CLUSTERIP.h
header-y += ipt_CONNMARK.h
header-y += ipt_DSCP.h
header-y += ipt_ECN.h
header-y += ipt_LOG.h
header-y += ipt_MARK.h
header-y += ipt_NFQUEUE.h
header-y += ipt_REJECT.h
header-y += ipt_SAME.h
header-y += ipt_TCPMSS.h
header-y += ipt_TOS.h
header-y += ipt_TTL.h
header-y += ipt_ULOG.h
header-y += ipt_addrtype.h
header-y += ipt_ah.h
header-y += ipt_comment.h
header-y += ipt_connbytes.h
header-y += ipt_connmark.h
header-y += ipt_conntrack.h
header-y += ipt_dccp.h
header-y += ipt_dscp.h
header-y += ipt_ecn.h
header-y += ipt_esp.h
header-y += ipt_hashlimit.h
header-y += ipt_helper.h
header-y += ipt_iprange.h
header-y += ipt_length.h
header-y += ipt_limit.h
header-y += ipt_mac.h
header-y += ipt_mark.h
header-y += ipt_multiport.h
header-y += ipt_owner.h
header-y += ipt_physdev.h
header-y += ipt_pkttype.h
header-y += ipt_policy.h
header-y += ipt_realm.h
header-y += ipt_recent.h
header-y += ipt_sctp.h
header-y += ipt_state.h
header-y += ipt_string.h
header-y += ipt_tcpmss.h
header-y += ipt_tos.h
header-y += ipt_ttl.h

unifdef-y += ip_queue.h
Expand Down
2 changes: 1 addition & 1 deletion include/linux/netfilter_ipv4/ip_tables.h
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ ipt_get_target(struct ipt_entry *e)
extern void ipt_init(void) __init;

extern struct xt_table *ipt_register_table(struct net *net,
struct xt_table *table,
const struct xt_table *table,
const struct ipt_replace *repl);
extern void ipt_unregister_table(struct xt_table *table);

Expand Down
7 changes: 0 additions & 7 deletions include/linux/netfilter_ipv4/ipt_CLASSIFY.h

This file was deleted.

19 changes: 0 additions & 19 deletions include/linux/netfilter_ipv4/ipt_CONNMARK.h

This file was deleted.

18 changes: 0 additions & 18 deletions include/linux/netfilter_ipv4/ipt_DSCP.h

This file was deleted.

4 changes: 2 additions & 2 deletions include/linux/netfilter_ipv4/ipt_ECN.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
*/
#ifndef _IPT_ECN_TARGET_H
#define _IPT_ECN_TARGET_H
#include <linux/netfilter_ipv4/ipt_DSCP.h>
#include <linux/netfilter/xt_DSCP.h>

#define IPT_ECN_IP_MASK (~IPT_DSCP_MASK)
#define IPT_ECN_IP_MASK (~XT_DSCP_MASK)

#define IPT_ECN_OP_SET_IP 0x01 /* set ECN bits of IPv4 header */
#define IPT_ECN_OP_SET_ECE 0x10 /* set ECE bit of TCP header */
Expand Down
18 changes: 0 additions & 18 deletions include/linux/netfilter_ipv4/ipt_MARK.h

This file was deleted.

16 changes: 0 additions & 16 deletions include/linux/netfilter_ipv4/ipt_NFQUEUE.h

This file was deleted.

9 changes: 0 additions & 9 deletions include/linux/netfilter_ipv4/ipt_TCPMSS.h

This file was deleted.

12 changes: 0 additions & 12 deletions include/linux/netfilter_ipv4/ipt_TOS.h

This file was deleted.

10 changes: 0 additions & 10 deletions include/linux/netfilter_ipv4/ipt_comment.h

This file was deleted.

18 changes: 0 additions & 18 deletions include/linux/netfilter_ipv4/ipt_connbytes.h

This file was deleted.

7 changes: 0 additions & 7 deletions include/linux/netfilter_ipv4/ipt_connmark.h

This file was deleted.

Loading

0 comments on commit 9a0da0d

Please sign in to comment.