-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [NET]: Fully fix the memory leaks in sys_accept(). [NETFILTER]: iptables 32bit compat layer [NETFILTER]: {ip,nf}_conntrack_netlink: fix expectation notifier unregistration [NETFILTER]: fix ifdef for connmark support in nf_conntrack_netlink [NETFILTER]: x_tables: unify IPv4/IPv6 multiport match [NETFILTER]: x_tables: unify IPv4/IPv6 esp match [NET]: Fix dentry leak in sys_accept(). [IPSEC]: Kill unused decap state structure [IPSEC]: Kill unused decap state argument [NET]: com90xx kmalloc fix [TG3]: Update driver version and reldate. [TG3]: Revert "Speed up SRAM access"
- Loading branch information
Showing
41 changed files
with
1,813 additions
and
848 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#ifndef _XT_ESP_H | ||
#define _XT_ESP_H | ||
|
||
struct xt_esp | ||
{ | ||
u_int32_t spis[2]; /* Security Parameter Index */ | ||
u_int8_t invflags; /* Inverse flags */ | ||
}; | ||
|
||
/* Values for "invflags" field in struct xt_esp. */ | ||
#define XT_ESP_INV_SPI 0x01 /* Invert the sense of spi. */ | ||
#define XT_ESP_INV_MASK 0x01 /* All possible flags. */ | ||
|
||
#endif /*_XT_ESP_H*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#ifndef _XT_MULTIPORT_H | ||
#define _XT_MULTIPORT_H | ||
|
||
enum xt_multiport_flags | ||
{ | ||
XT_MULTIPORT_SOURCE, | ||
XT_MULTIPORT_DESTINATION, | ||
XT_MULTIPORT_EITHER | ||
}; | ||
|
||
#define XT_MULTI_PORTS 15 | ||
|
||
/* Must fit inside union xt_matchinfo: 16 bytes */ | ||
struct xt_multiport | ||
{ | ||
u_int8_t flags; /* Type of comparison */ | ||
u_int8_t count; /* Number of ports */ | ||
u_int16_t ports[XT_MULTI_PORTS]; /* Ports */ | ||
}; | ||
|
||
struct xt_multiport_v1 | ||
{ | ||
u_int8_t flags; /* Type of comparison */ | ||
u_int8_t count; /* Number of ports */ | ||
u_int16_t ports[XT_MULTI_PORTS]; /* Ports */ | ||
u_int8_t pflags[XT_MULTI_PORTS]; /* Port flags */ | ||
u_int8_t invert; /* Invert flag */ | ||
}; | ||
|
||
#endif /*_XT_MULTIPORT_H*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,10 @@ | ||
#ifndef _IPT_ESP_H | ||
#define _IPT_ESP_H | ||
|
||
struct ipt_esp | ||
{ | ||
u_int32_t spis[2]; /* Security Parameter Index */ | ||
u_int8_t invflags; /* Inverse flags */ | ||
}; | ||
#include <linux/netfilter/xt_esp.h> | ||
|
||
|
||
|
||
/* Values for "invflags" field in struct ipt_esp. */ | ||
#define IPT_ESP_INV_SPI 0x01 /* Invert the sense of spi. */ | ||
#define IPT_ESP_INV_MASK 0x01 /* All possible flags. */ | ||
#define ipt_esp xt_esp | ||
#define IPT_ESP_INV_SPI XT_ESP_INV_SPI | ||
#define IPT_ESP_INV_MASK XT_ESP_INV_MASK | ||
|
||
#endif /*_IPT_ESP_H*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,15 @@ | ||
#ifndef _IPT_MULTIPORT_H | ||
#define _IPT_MULTIPORT_H | ||
#include <linux/netfilter_ipv4/ip_tables.h> | ||
|
||
enum ipt_multiport_flags | ||
{ | ||
IPT_MULTIPORT_SOURCE, | ||
IPT_MULTIPORT_DESTINATION, | ||
IPT_MULTIPORT_EITHER | ||
}; | ||
#include <linux/netfilter/xt_multiport.h> | ||
|
||
#define IPT_MULTI_PORTS 15 | ||
#define IPT_MULTIPORT_SOURCE XT_MULTIPORT_SOURCE | ||
#define IPT_MULTIPORT_DESTINATION XT_MULTIPORT_DESTINATION | ||
#define IPT_MULTIPORT_EITHER XT_MULTIPORT_EITHER | ||
|
||
/* Must fit inside union ipt_matchinfo: 16 bytes */ | ||
struct ipt_multiport | ||
{ | ||
u_int8_t flags; /* Type of comparison */ | ||
u_int8_t count; /* Number of ports */ | ||
u_int16_t ports[IPT_MULTI_PORTS]; /* Ports */ | ||
}; | ||
#define IPT_MULTI_PORTS XT_MULTI_PORTS | ||
|
||
#define ipt_multiport xt_multiport | ||
#define ipt_multiport_v1 xt_multiport_v1 | ||
|
||
struct ipt_multiport_v1 | ||
{ | ||
u_int8_t flags; /* Type of comparison */ | ||
u_int8_t count; /* Number of ports */ | ||
u_int16_t ports[IPT_MULTI_PORTS]; /* Ports */ | ||
u_int8_t pflags[IPT_MULTI_PORTS]; /* Port flags */ | ||
u_int8_t invert; /* Invert flag */ | ||
}; | ||
#endif /*_IPT_MULTIPORT_H*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
#ifndef _IP6T_ESP_H | ||
#define _IP6T_ESP_H | ||
|
||
struct ip6t_esp | ||
{ | ||
u_int32_t spis[2]; /* Security Parameter Index */ | ||
u_int8_t invflags; /* Inverse flags */ | ||
}; | ||
#include <linux/netfilter/xt_esp.h> | ||
|
||
/* Values for "invflags" field in struct ip6t_esp. */ | ||
#define IP6T_ESP_INV_SPI 0x01 /* Invert the sense of spi. */ | ||
#define IP6T_ESP_INV_MASK 0x01 /* All possible flags. */ | ||
#define ip6t_esp xt_esp | ||
#define IP6T_ESP_INV_SPI XT_ESP_INV_SPI | ||
#define IP6T_ESP_INV_MASK XT_ESP_INV_MASK | ||
|
||
#endif /*_IP6T_ESP_H*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,14 @@ | ||
#ifndef _IP6T_MULTIPORT_H | ||
#define _IP6T_MULTIPORT_H | ||
#include <linux/netfilter_ipv6/ip6_tables.h> | ||
|
||
enum ip6t_multiport_flags | ||
{ | ||
IP6T_MULTIPORT_SOURCE, | ||
IP6T_MULTIPORT_DESTINATION, | ||
IP6T_MULTIPORT_EITHER | ||
}; | ||
#include <linux/netfilter/xt_multiport.h> | ||
|
||
#define IP6T_MULTI_PORTS 15 | ||
#define IP6T_MULTIPORT_SOURCE XT_MULTIPORT_SOURCE | ||
#define IP6T_MULTIPORT_DESTINATION XT_MULTIPORT_DESTINATION | ||
#define IP6T_MULTIPORT_EITHER XT_MULTIPORT_EITHER | ||
|
||
/* Must fit inside union ip6t_matchinfo: 16 bytes */ | ||
struct ip6t_multiport | ||
{ | ||
u_int8_t flags; /* Type of comparison */ | ||
u_int8_t count; /* Number of ports */ | ||
u_int16_t ports[IP6T_MULTI_PORTS]; /* Ports */ | ||
}; | ||
#endif /*_IPT_MULTIPORT_H*/ | ||
#define IP6T_MULTI_PORTS XT_MULTI_PORTS | ||
|
||
#define ip6t_multiport xt_multiport | ||
|
||
#endif /*_IP6T_MULTIPORT_H*/ |
Oops, something went wrong.