Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
71d09b5c
Commit
71d09b5c
authored
Feb 09, 2003
by
Art Haas
Committed by
David S. Miller
Feb 09, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NETFILTER]: C99 initializers for net_ipv6_netfilter.
parent
6beefa9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
16 deletions
+16
-16
net/ipv6/netfilter/ip6table_filter.c
net/ipv6/netfilter/ip6table_filter.c
+6
-6
net/ipv6/netfilter/ip6table_mangle.c
net/ipv6/netfilter/ip6table_mangle.c
+10
-10
No files found.
net/ipv6/netfilter/ip6table_filter.c
View file @
71d09b5c
...
...
@@ -35,12 +35,12 @@ static struct
}
initial_table
__initdata
=
{
{
"filter"
,
FILTER_VALID_HOOKS
,
4
,
sizeof
(
struct
ip6t_standard
)
*
3
+
sizeof
(
struct
ip6t_error
),
{
[
NF_IP6_LOCAL_IN
]
0
,
[
NF_IP6_FORWARD
]
sizeof
(
struct
ip6t_standard
),
[
NF_IP6_LOCAL_OUT
]
sizeof
(
struct
ip6t_standard
)
*
2
},
{
[
NF_IP6_LOCAL_IN
]
0
,
[
NF_IP6_FORWARD
]
sizeof
(
struct
ip6t_standard
),
[
NF_IP6_LOCAL_OUT
]
sizeof
(
struct
ip6t_standard
)
*
2
},
{
[
NF_IP6_LOCAL_IN
]
=
0
,
[
NF_IP6_FORWARD
]
=
sizeof
(
struct
ip6t_standard
),
[
NF_IP6_LOCAL_OUT
]
=
sizeof
(
struct
ip6t_standard
)
*
2
},
{
[
NF_IP6_LOCAL_IN
]
=
0
,
[
NF_IP6_FORWARD
]
=
sizeof
(
struct
ip6t_standard
),
[
NF_IP6_LOCAL_OUT
]
=
sizeof
(
struct
ip6t_standard
)
*
2
},
0
,
NULL
,
{
}
},
{
/* LOCAL_IN */
...
...
net/ipv6/netfilter/ip6table_mangle.c
View file @
71d09b5c
...
...
@@ -45,16 +45,16 @@ static struct
}
initial_table
__initdata
=
{
{
"mangle"
,
MANGLE_VALID_HOOKS
,
6
,
sizeof
(
struct
ip6t_standard
)
*
5
+
sizeof
(
struct
ip6t_error
),
{
[
NF_IP6_PRE_ROUTING
]
0
,
[
NF_IP6_LOCAL_IN
]
sizeof
(
struct
ip6t_standard
),
[
NF_IP6_FORWARD
]
sizeof
(
struct
ip6t_standard
)
*
2
,
[
NF_IP6_LOCAL_OUT
]
sizeof
(
struct
ip6t_standard
)
*
3
,
[
NF_IP6_POST_ROUTING
]
sizeof
(
struct
ip6t_standard
)
*
4
},
{
[
NF_IP6_PRE_ROUTING
]
0
,
[
NF_IP6_LOCAL_IN
]
sizeof
(
struct
ip6t_standard
),
[
NF_IP6_FORWARD
]
sizeof
(
struct
ip6t_standard
)
*
2
,
[
NF_IP6_LOCAL_OUT
]
sizeof
(
struct
ip6t_standard
)
*
3
,
[
NF_IP6_POST_ROUTING
]
sizeof
(
struct
ip6t_standard
)
*
4
},
{
[
NF_IP6_PRE_ROUTING
]
=
0
,
[
NF_IP6_LOCAL_IN
]
=
sizeof
(
struct
ip6t_standard
),
[
NF_IP6_FORWARD
]
=
sizeof
(
struct
ip6t_standard
)
*
2
,
[
NF_IP6_LOCAL_OUT
]
=
sizeof
(
struct
ip6t_standard
)
*
3
,
[
NF_IP6_POST_ROUTING
]
=
sizeof
(
struct
ip6t_standard
)
*
4
},
{
[
NF_IP6_PRE_ROUTING
]
=
0
,
[
NF_IP6_LOCAL_IN
]
=
sizeof
(
struct
ip6t_standard
),
[
NF_IP6_FORWARD
]
=
sizeof
(
struct
ip6t_standard
)
*
2
,
[
NF_IP6_LOCAL_OUT
]
=
sizeof
(
struct
ip6t_standard
)
*
3
,
[
NF_IP6_POST_ROUTING
]
=
sizeof
(
struct
ip6t_standard
)
*
4
},
0
,
NULL
,
{
}
},
{
/* PRE_ROUTING */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment