Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
cloud-kernel
提交
a8fc0d9b
cloud-kernel
项目概览
openanolis
/
cloud-kernel
1 年多 前同步成功
通知
160
Star
36
Fork
7
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
10
列表
看板
标记
里程碑
合并请求
2
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
cloud-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
10
Issue
10
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
a8fc0d9b
编写于
1月 18, 2011
作者:
P
Patrick McHardy
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
git://dev.medozas.de/linux
上级
94b27cc3
0b8ad876
变更
36
隐藏空白更改
内联
并排
Showing
36 changed file
with
133 addition
and
125 deletion
+133
-125
include/linux/netfilter/Kbuild
include/linux/netfilter/Kbuild
+2
-0
include/linux/netfilter_bridge/ebt_802_3.h
include/linux/netfilter_bridge/ebt_802_3.h
+12
-12
include/linux/netfilter_bridge/ebt_among.h
include/linux/netfilter_bridge/ebt_among.h
+1
-1
include/linux/netfilter_bridge/ebt_arp.h
include/linux/netfilter_bridge/ebt_arp.h
+2
-2
include/linux/netfilter_bridge/ebt_ip.h
include/linux/netfilter_bridge/ebt_ip.h
+6
-6
include/linux/netfilter_bridge/ebt_ip6.h
include/linux/netfilter_bridge/ebt_ip6.h
+8
-8
include/linux/netfilter_bridge/ebt_limit.h
include/linux/netfilter_bridge/ebt_limit.h
+4
-4
include/linux/netfilter_bridge/ebt_log.h
include/linux/netfilter_bridge/ebt_log.h
+3
-3
include/linux/netfilter_bridge/ebt_mark_m.h
include/linux/netfilter_bridge/ebt_mark_m.h
+2
-2
include/linux/netfilter_bridge/ebt_nflog.h
include/linux/netfilter_bridge/ebt_nflog.h
+5
-5
include/linux/netfilter_bridge/ebt_pkttype.h
include/linux/netfilter_bridge/ebt_pkttype.h
+2
-2
include/linux/netfilter_bridge/ebt_stp.h
include/linux/netfilter_bridge/ebt_stp.h
+12
-12
include/linux/netfilter_bridge/ebt_ulog.h
include/linux/netfilter_bridge/ebt_ulog.h
+1
-1
include/linux/netfilter_bridge/ebt_vlan.h
include/linux/netfilter_bridge/ebt_vlan.h
+4
-4
include/linux/netfilter_ipv4/ipt_CLUSTERIP.h
include/linux/netfilter_ipv4/ipt_CLUSTERIP.h
+7
-7
include/linux/netfilter_ipv4/ipt_ECN.h
include/linux/netfilter_ipv4/ipt_ECN.h
+3
-3
include/linux/netfilter_ipv4/ipt_SAME.h
include/linux/netfilter_ipv4/ipt_SAME.h
+3
-3
include/linux/netfilter_ipv4/ipt_TTL.h
include/linux/netfilter_ipv4/ipt_TTL.h
+2
-2
include/linux/netfilter_ipv4/ipt_addrtype.h
include/linux/netfilter_ipv4/ipt_addrtype.h
+7
-7
include/linux/netfilter_ipv4/ipt_ah.h
include/linux/netfilter_ipv4/ipt_ah.h
+2
-2
include/linux/netfilter_ipv4/ipt_ecn.h
include/linux/netfilter_ipv4/ipt_ecn.h
+4
-4
include/linux/netfilter_ipv4/ipt_ttl.h
include/linux/netfilter_ipv4/ipt_ttl.h
+2
-2
include/linux/netfilter_ipv6/ip6t_HL.h
include/linux/netfilter_ipv6/ip6t_HL.h
+2
-2
include/linux/netfilter_ipv6/ip6t_REJECT.h
include/linux/netfilter_ipv6/ip6t_REJECT.h
+1
-1
include/linux/netfilter_ipv6/ip6t_ah.h
include/linux/netfilter_ipv6/ip6t_ah.h
+4
-4
include/linux/netfilter_ipv6/ip6t_frag.h
include/linux/netfilter_ipv6/ip6t_frag.h
+4
-4
include/linux/netfilter_ipv6/ip6t_hl.h
include/linux/netfilter_ipv6/ip6t_hl.h
+2
-2
include/linux/netfilter_ipv6/ip6t_ipv6header.h
include/linux/netfilter_ipv6/ip6t_ipv6header.h
+3
-3
include/linux/netfilter_ipv6/ip6t_mh.h
include/linux/netfilter_ipv6/ip6t_mh.h
+2
-2
include/linux/netfilter_ipv6/ip6t_opts.h
include/linux/netfilter_ipv6/ip6t_opts.h
+5
-5
include/linux/netfilter_ipv6/ip6t_rt.h
include/linux/netfilter_ipv6/ip6t_rt.h
+6
-6
kernel/audit.c
kernel/audit.c
+2
-0
net/netfilter/xt_IDLETIMER.c
net/netfilter/xt_IDLETIMER.c
+2
-0
net/netfilter/xt_LED.c
net/netfilter/xt_LED.c
+2
-0
net/netfilter/xt_connlimit.c
net/netfilter/xt_connlimit.c
+2
-4
net/netfilter/xt_cpu.c
net/netfilter/xt_cpu.c
+2
-0
未找到文件。
include/linux/netfilter/Kbuild
浏览文件 @
a8fc0d9b
...
...
@@ -56,6 +56,8 @@ header-y += xt_rateest.h
header-y += xt_realm.h
header-y += xt_recent.h
header-y += xt_sctp.h
header-y += xt_secmark.h
header-y += xt_socket.h
header-y += xt_state.h
header-y += xt_statistic.h
header-y += xt_string.h
...
...
include/linux/netfilter_bridge/ebt_802_3.h
浏览文件 @
a8fc0d9b
...
...
@@ -24,24 +24,24 @@
/* ui has one byte ctrl, ni has two */
struct
hdr_ui
{
uint8_t
dsap
;
uint8_t
ssap
;
uint8_t
ctrl
;
uint8_t
orig
[
3
];
__u8
dsap
;
__u8
ssap
;
__u8
ctrl
;
__u8
orig
[
3
];
__be16
type
;
};
struct
hdr_ni
{
uint8_t
dsap
;
uint8_t
ssap
;
__u8
dsap
;
__u8
ssap
;
__be16
ctrl
;
uint8_t
orig
[
3
];
__u8
orig
[
3
];
__be16
type
;
};
struct
ebt_802_3_hdr
{
uint8_t
daddr
[
6
];
uint8_t
saddr
[
6
];
__u8
daddr
[
6
];
__u8
saddr
[
6
];
__be16
len
;
union
{
struct
hdr_ui
ui
;
...
...
@@ -59,10 +59,10 @@ static inline struct ebt_802_3_hdr *ebt_802_3_hdr(const struct sk_buff *skb)
#endif
struct
ebt_802_3_info
{
uint8_t
sap
;
__u8
sap
;
__be16
type
;
uint8_t
bitmask
;
uint8_t
invflags
;
__u8
bitmask
;
__u8
invflags
;
};
#endif
include/linux/netfilter_bridge/ebt_among.h
浏览文件 @
a8fc0d9b
...
...
@@ -30,7 +30,7 @@
*/
struct
ebt_mac_wormhash_tuple
{
uint32_t
cmp
[
2
];
__u32
cmp
[
2
];
__be32
ip
;
};
...
...
include/linux/netfilter_bridge/ebt_arp.h
浏览文件 @
a8fc0d9b
...
...
@@ -27,8 +27,8 @@ struct ebt_arp_info
unsigned
char
smmsk
[
ETH_ALEN
];
unsigned
char
dmaddr
[
ETH_ALEN
];
unsigned
char
dmmsk
[
ETH_ALEN
];
uint8_t
bitmask
;
uint8_t
invflags
;
__u8
bitmask
;
__u8
invflags
;
};
#endif
include/linux/netfilter_bridge/ebt_ip.h
浏览文件 @
a8fc0d9b
...
...
@@ -31,12 +31,12 @@ struct ebt_ip_info {
__be32
daddr
;
__be32
smsk
;
__be32
dmsk
;
uint8_t
tos
;
uint8_t
protocol
;
uint8_t
bitmask
;
uint8_t
invflags
;
uint16_t
sport
[
2
];
uint16_t
dport
[
2
];
__u8
tos
;
__u8
protocol
;
__u8
bitmask
;
__u8
invflags
;
__u16
sport
[
2
];
__u16
dport
[
2
];
};
#endif
include/linux/netfilter_bridge/ebt_ip6.h
浏览文件 @
a8fc0d9b
...
...
@@ -31,17 +31,17 @@ struct ebt_ip6_info {
struct
in6_addr
daddr
;
struct
in6_addr
smsk
;
struct
in6_addr
dmsk
;
uint8_t
tclass
;
uint8_t
protocol
;
uint8_t
bitmask
;
uint8_t
invflags
;
__u8
tclass
;
__u8
protocol
;
__u8
bitmask
;
__u8
invflags
;
union
{
uint16_t
sport
[
2
];
uint8_t
icmpv6_type
[
2
];
__u16
sport
[
2
];
__u8
icmpv6_type
[
2
];
};
union
{
uint16_t
dport
[
2
];
uint8_t
icmpv6_code
[
2
];
__u16
dport
[
2
];
__u8
icmpv6_code
[
2
];
};
};
...
...
include/linux/netfilter_bridge/ebt_limit.h
浏览文件 @
a8fc0d9b
...
...
@@ -10,13 +10,13 @@
seconds, or one every 59 hours. */
struct
ebt_limit_info
{
u_int32_t
avg
;
/* Average secs between packets * scale */
u_int32_t
burst
;
/* Period multiplier for upper limit. */
__u32
avg
;
/* Average secs between packets * scale */
__u32
burst
;
/* Period multiplier for upper limit. */
/* Used internally by the kernel */
unsigned
long
prev
;
u_int32_t
credit
;
u_int32_t
credit_cap
,
cost
;
__u32
credit
;
__u32
credit_cap
,
cost
;
};
#endif
include/linux/netfilter_bridge/ebt_log.h
浏览文件 @
a8fc0d9b
...
...
@@ -10,9 +10,9 @@
#define EBT_LOG_WATCHER "log"
struct
ebt_log_info
{
uint8_t
loglevel
;
uint8_t
prefix
[
EBT_LOG_PREFIX_SIZE
];
uint32_t
bitmask
;
__u8
loglevel
;
__u8
prefix
[
EBT_LOG_PREFIX_SIZE
];
__u32
bitmask
;
};
#endif
include/linux/netfilter_bridge/ebt_mark_m.h
浏览文件 @
a8fc0d9b
...
...
@@ -6,8 +6,8 @@
#define EBT_MARK_MASK (EBT_MARK_AND | EBT_MARK_OR)
struct
ebt_mark_m_info
{
unsigned
long
mark
,
mask
;
uint8_t
invert
;
uint8_t
bitmask
;
__u8
invert
;
__u8
bitmask
;
};
#define EBT_MARK_MATCH "mark_m"
...
...
include/linux/netfilter_bridge/ebt_nflog.h
浏览文件 @
a8fc0d9b
...
...
@@ -10,11 +10,11 @@
#define EBT_NFLOG_DEFAULT_THRESHOLD 1
struct
ebt_nflog_info
{
u_int32_t
len
;
u_int16_t
group
;
u_int16_t
threshold
;
u_int16_t
flags
;
u_int16_t
pad
;
__u32
len
;
__u16
group
;
__u16
threshold
;
__u16
flags
;
__u16
pad
;
char
prefix
[
EBT_NFLOG_PREFIX_SIZE
];
};
...
...
include/linux/netfilter_bridge/ebt_pkttype.h
浏览文件 @
a8fc0d9b
...
...
@@ -2,8 +2,8 @@
#define __LINUX_BRIDGE_EBT_PKTTYPE_H
struct
ebt_pkttype_info
{
uint8_t
pkt_type
;
uint8_t
invert
;
__u8
pkt_type
;
__u8
invert
;
};
#define EBT_PKTTYPE_MATCH "pkttype"
...
...
include/linux/netfilter_bridge/ebt_stp.h
浏览文件 @
a8fc0d9b
...
...
@@ -21,24 +21,24 @@
#define EBT_STP_MATCH "stp"
struct
ebt_stp_config_info
{
uint8_t
flags
;
uint16_t
root_priol
,
root_priou
;
__u8
flags
;
__u16
root_priol
,
root_priou
;
char
root_addr
[
6
],
root_addrmsk
[
6
];
uint32_t
root_costl
,
root_costu
;
uint16_t
sender_priol
,
sender_priou
;
__u32
root_costl
,
root_costu
;
__u16
sender_priol
,
sender_priou
;
char
sender_addr
[
6
],
sender_addrmsk
[
6
];
uint16_t
portl
,
portu
;
uint16_t
msg_agel
,
msg_ageu
;
uint16_t
max_agel
,
max_ageu
;
uint16_t
hello_timel
,
hello_timeu
;
uint16_t
forward_delayl
,
forward_delayu
;
__u16
portl
,
portu
;
__u16
msg_agel
,
msg_ageu
;
__u16
max_agel
,
max_ageu
;
__u16
hello_timel
,
hello_timeu
;
__u16
forward_delayl
,
forward_delayu
;
};
struct
ebt_stp_info
{
uint8_t
type
;
__u8
type
;
struct
ebt_stp_config_info
config
;
uint16_t
bitmask
;
uint16_t
invflags
;
__u16
bitmask
;
__u16
invflags
;
};
#endif
include/linux/netfilter_bridge/ebt_ulog.h
浏览文件 @
a8fc0d9b
...
...
@@ -10,7 +10,7 @@
#define EBT_ULOG_VERSION 1
struct
ebt_ulog_info
{
uint32_t
nlgroup
;
__u32
nlgroup
;
unsigned
int
cprange
;
unsigned
int
qthreshold
;
char
prefix
[
EBT_ULOG_PREFIX_LEN
];
...
...
include/linux/netfilter_bridge/ebt_vlan.h
浏览文件 @
a8fc0d9b
...
...
@@ -8,12 +8,12 @@
#define EBT_VLAN_MATCH "vlan"
struct
ebt_vlan_info
{
uint16_t
id
;
/* VLAN ID {1-4095} */
uint8_t
prio
;
/* VLAN User Priority {0-7} */
__u16
id
;
/* VLAN ID {1-4095} */
__u8
prio
;
/* VLAN User Priority {0-7} */
__be16
encap
;
/* VLAN Encapsulated frame code {0-65535} */
uint8_t
bitmask
;
/* Args bitmask bit 1=1 - ID arg,
__u8
bitmask
;
/* Args bitmask bit 1=1 - ID arg,
bit 2=1 User-Priority arg, bit 3=1 encap*/
uint8_t
invflags
;
/* Inverse bitmask bit 1=1 - inversed ID arg,
__u8
invflags
;
/* Inverse bitmask bit 1=1 - inversed ID arg,
bit 2=1 - inversed Pirority arg */
};
...
...
include/linux/netfilter_ipv4/ipt_CLUSTERIP.h
浏览文件 @
a8fc0d9b
...
...
@@ -17,15 +17,15 @@ struct clusterip_config;
struct
ipt_clusterip_tgt_info
{
u_int32_t
flags
;
__u32
flags
;
/* only relevant for new ones */
u_int8_t
clustermac
[
6
];
u_int16_t
num_total_nodes
;
u_int16_t
num_local_nodes
;
u_int16_t
local_nodes
[
CLUSTERIP_MAX_NODES
];
u_int32_t
hash_mode
;
u_int32_t
hash_initval
;
__u8
clustermac
[
6
];
__u16
num_total_nodes
;
__u16
num_local_nodes
;
__u16
local_nodes
[
CLUSTERIP_MAX_NODES
];
__u32
hash_mode
;
__u32
hash_initval
;
/* Used internally by the kernel */
struct
clusterip_config
*
config
;
...
...
include/linux/netfilter_ipv4/ipt_ECN.h
浏览文件 @
a8fc0d9b
...
...
@@ -19,11 +19,11 @@
#define IPT_ECN_OP_MASK 0xce
struct
ipt_ECN_info
{
u_int8_t
operation
;
/* bitset of operations */
u_int8_t
ip_ect
;
/* ECT codepoint of IPv4 header, pre-shifted */
__u8
operation
;
/* bitset of operations */
__u8
ip_ect
;
/* ECT codepoint of IPv4 header, pre-shifted */
union
{
struct
{
u_int8_t
ece
:
1
,
cwr
:
1
;
/* TCP ECT bits */
__u8
ece
:
1
,
cwr
:
1
;
/* TCP ECT bits */
}
tcp
;
}
proto
;
};
...
...
include/linux/netfilter_ipv4/ipt_SAME.h
浏览文件 @
a8fc0d9b
...
...
@@ -7,9 +7,9 @@
struct
ipt_same_info
{
unsigned
char
info
;
u_int32_t
rangesize
;
u_int32_t
ipnum
;
u_int32_t
*
iparray
;
__u32
rangesize
;
__u32
ipnum
;
__u32
*
iparray
;
/* hangs off end. */
struct
nf_nat_range
range
[
IPT_SAME_MAX_RANGE
];
...
...
include/linux/netfilter_ipv4/ipt_TTL.h
浏览文件 @
a8fc0d9b
...
...
@@ -13,8 +13,8 @@ enum {
#define IPT_TTL_MAXMODE IPT_TTL_DEC
struct
ipt_TTL_info
{
u_int8_t
mode
;
u_int8_t
ttl
;
__u8
mode
;
__u8
ttl
;
};
...
...
include/linux/netfilter_ipv4/ipt_addrtype.h
浏览文件 @
a8fc0d9b
...
...
@@ -9,17 +9,17 @@ enum {
};
struct
ipt_addrtype_info_v1
{
u_int16_t
source
;
/* source-type mask */
u_int16_t
dest
;
/* dest-type mask */
u_int32_t
flags
;
__u16
source
;
/* source-type mask */
__u16
dest
;
/* dest-type mask */
__u32
flags
;
};
/* revision 0 */
struct
ipt_addrtype_info
{
u_int16_t
source
;
/* source-type mask */
u_int16_t
dest
;
/* dest-type mask */
u_int32_t
invert_source
;
u_int32_t
invert_dest
;
__u16
source
;
/* source-type mask */
__u16
dest
;
/* dest-type mask */
__u32
invert_source
;
__u32
invert_dest
;
};
#endif
include/linux/netfilter_ipv4/ipt_ah.h
浏览文件 @
a8fc0d9b
...
...
@@ -2,8 +2,8 @@
#define _IPT_AH_H
struct
ipt_ah
{
u_int32_t
spis
[
2
];
/* Security Parameter Index */
u_int8_t
invflags
;
/* Inverse flags */
__u32
spis
[
2
];
/* Security Parameter Index */
__u8
invflags
;
/* Inverse flags */
};
...
...
include/linux/netfilter_ipv4/ipt_ecn.h
浏览文件 @
a8fc0d9b
...
...
@@ -20,12 +20,12 @@
/* match info */
struct
ipt_ecn_info
{
u_int8_t
operation
;
u_int8_t
invert
;
u_int8_t
ip_ect
;
__u8
operation
;
__u8
invert
;
__u8
ip_ect
;
union
{
struct
{
u_int8_t
ect
;
__u8
ect
;
}
tcp
;
}
proto
;
};
...
...
include/linux/netfilter_ipv4/ipt_ttl.h
浏览文件 @
a8fc0d9b
...
...
@@ -13,8 +13,8 @@ enum {
struct
ipt_ttl_info
{
u_int8_t
mode
;
u_int8_t
ttl
;
__u8
mode
;
__u8
ttl
;
};
...
...
include/linux/netfilter_ipv6/ip6t_HL.h
浏览文件 @
a8fc0d9b
...
...
@@ -14,8 +14,8 @@ enum {
#define IP6T_HL_MAXMODE IP6T_HL_DEC
struct
ip6t_HL_info
{
u_int8_t
mode
;
u_int8_t
hop_limit
;
__u8
mode
;
__u8
hop_limit
;
};
...
...
include/linux/netfilter_ipv6/ip6t_REJECT.h
浏览文件 @
a8fc0d9b
...
...
@@ -12,7 +12,7 @@ enum ip6t_reject_with {
};
struct
ip6t_reject_info
{
u_int32_t
with
;
/* reject type */
__u32
with
;
/* reject type */
};
#endif
/*_IP6T_REJECT_H*/
include/linux/netfilter_ipv6/ip6t_ah.h
浏览文件 @
a8fc0d9b
...
...
@@ -2,10 +2,10 @@
#define _IP6T_AH_H
struct
ip6t_ah
{
u_int32_t
spis
[
2
];
/* Security Parameter Index */
u_int32_t
hdrlen
;
/* Header Length */
u_int8_t
hdrres
;
/* Test of the Reserved Filed */
u_int8_t
invflags
;
/* Inverse flags */
__u32
spis
[
2
];
/* Security Parameter Index */
__u32
hdrlen
;
/* Header Length */
__u8
hdrres
;
/* Test of the Reserved Filed */
__u8
invflags
;
/* Inverse flags */
};
#define IP6T_AH_SPI 0x01
...
...
include/linux/netfilter_ipv6/ip6t_frag.h
浏览文件 @
a8fc0d9b
...
...
@@ -2,10 +2,10 @@
#define _IP6T_FRAG_H
struct
ip6t_frag
{
u_int32_t
ids
[
2
];
/* Security Parameter Index */
u_int32_t
hdrlen
;
/* Header Length */
u_int8_t
flags
;
/* */
u_int8_t
invflags
;
/* Inverse flags */
__u32
ids
[
2
];
/* Security Parameter Index */
__u32
hdrlen
;
/* Header Length */
__u8
flags
;
/* */
__u8
invflags
;
/* Inverse flags */
};
#define IP6T_FRAG_IDS 0x01
...
...
include/linux/netfilter_ipv6/ip6t_hl.h
浏览文件 @
a8fc0d9b
...
...
@@ -14,8 +14,8 @@ enum {
struct
ip6t_hl_info
{
u_int8_t
mode
;
u_int8_t
hop_limit
;
__u8
mode
;
__u8
hop_limit
;
};
...
...
include/linux/netfilter_ipv6/ip6t_ipv6header.h
浏览文件 @
a8fc0d9b
...
...
@@ -9,9 +9,9 @@ on whether they contain certain headers */
#define __IPV6HEADER_H
struct
ip6t_ipv6header_info
{
u_int8_t
matchflags
;
u_int8_t
invflags
;
u_int8_t
modeflag
;
__u8
matchflags
;
__u8
invflags
;
__u8
modeflag
;
};
#define MASK_HOPOPTS 128
...
...
include/linux/netfilter_ipv6/ip6t_mh.h
浏览文件 @
a8fc0d9b
...
...
@@ -3,8 +3,8 @@
/* MH matching stuff */
struct
ip6t_mh
{
u_int8_t
types
[
2
];
/* MH type range */
u_int8_t
invflags
;
/* Inverse flags */
__u8
types
[
2
];
/* MH type range */
__u8
invflags
;
/* Inverse flags */
};
/* Values for "invflags" field in struct ip6t_mh. */
...
...
include/linux/netfilter_ipv6/ip6t_opts.h
浏览文件 @
a8fc0d9b
...
...
@@ -4,11 +4,11 @@
#define IP6T_OPTS_OPTSNR 16
struct
ip6t_opts
{
u_int32_t
hdrlen
;
/* Header Length */
u_int8_t
flags
;
/* */
u_int8_t
invflags
;
/* Inverse flags */
u_int16_t
opts
[
IP6T_OPTS_OPTSNR
];
/* opts */
u_int8_t
optsnr
;
/* Nr of OPts */
__u32
hdrlen
;
/* Header Length */
__u8
flags
;
/* */
__u8
invflags
;
/* Inverse flags */
__u16
opts
[
IP6T_OPTS_OPTSNR
];
/* opts */
__u8
optsnr
;
/* Nr of OPts */
};
#define IP6T_OPTS_LEN 0x01
...
...
include/linux/netfilter_ipv6/ip6t_rt.h
浏览文件 @
a8fc0d9b
...
...
@@ -6,13 +6,13 @@
#define IP6T_RT_HOPS 16
struct
ip6t_rt
{
u_int32_t
rt_type
;
/* Routing Type */
u_int32_t
segsleft
[
2
];
/* Segments Left */
u_int32_t
hdrlen
;
/* Header Length */
u_int8_t
flags
;
/* */
u_int8_t
invflags
;
/* Inverse flags */
__u32
rt_type
;
/* Routing Type */
__u32
segsleft
[
2
];
/* Segments Left */
__u32
hdrlen
;
/* Header Length */
__u8
flags
;
/* */
__u8
invflags
;
/* Inverse flags */
struct
in6_addr
addrs
[
IP6T_RT_HOPS
];
/* Hops */
u_int8_t
addrnr
;
/* Nr of Addresses */
__u8
addrnr
;
/* Nr of Addresses */
};
#define IP6T_RT_TYP 0x01
...
...
kernel/audit.c
浏览文件 @
a8fc0d9b
...
...
@@ -74,6 +74,8 @@ static int audit_initialized;
int
audit_enabled
;
int
audit_ever_enabled
;
EXPORT_SYMBOL_GPL
(
audit_enabled
);
/* Default state when kernel boots without any parameters. */
static
int
audit_default
;
...
...
net/netfilter/xt_IDLETIMER.c
浏览文件 @
a8fc0d9b
...
...
@@ -313,3 +313,5 @@ MODULE_AUTHOR("Timo Teras <ext-timo.teras@nokia.com>");
MODULE_AUTHOR
(
"Luciano Coelho <luciano.coelho@nokia.com>"
);
MODULE_DESCRIPTION
(
"Xtables: idle time monitor"
);
MODULE_LICENSE
(
"GPL v2"
);
MODULE_ALIAS
(
"ipt_IDLETIMER"
);
MODULE_ALIAS
(
"ip6t_IDLETIMER"
);
net/netfilter/xt_LED.c
浏览文件 @
a8fc0d9b
...
...
@@ -31,6 +31,8 @@
MODULE_LICENSE
(
"GPL"
);
MODULE_AUTHOR
(
"Adam Nielsen <a.nielsen@shikadi.net>"
);
MODULE_DESCRIPTION
(
"Xtables: trigger LED devices on packet match"
);
MODULE_ALIAS
(
"ipt_LED"
);
MODULE_ALIAS
(
"ip6t_LED"
);
static
LIST_HEAD
(
xt_led_triggers
);
static
DEFINE_MUTEX
(
xt_led_mutex
);
...
...
net/netfilter/xt_connlimit.c
浏览文件 @
a8fc0d9b
...
...
@@ -204,11 +204,9 @@ connlimit_mt(const struct sk_buff *skb, struct xt_action_param *par)
&
info
->
mask
,
par
->
family
);
spin_unlock_bh
(
&
info
->
data
->
lock
);
if
(
connections
<
0
)
{
if
(
connections
<
0
)
/* kmalloc failed, drop it entirely */
par
->
hotdrop
=
true
;
return
false
;
}
goto
hotdrop
;
return
(
connections
>
info
->
limit
)
^
info
->
inverse
;
...
...
net/netfilter/xt_cpu.c
浏览文件 @
a8fc0d9b
...
...
@@ -22,6 +22,8 @@
MODULE_LICENSE
(
"GPL"
);
MODULE_AUTHOR
(
"Eric Dumazet <eric.dumazet@gmail.com>"
);
MODULE_DESCRIPTION
(
"Xtables: CPU match"
);
MODULE_ALIAS
(
"ipt_cpu"
);
MODULE_ALIAS
(
"ip6t_cpu"
);
static
int
cpu_mt_check
(
const
struct
xt_mtchk_param
*
par
)
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录