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
nexedi
linux
Commits
2d2d84c4
Commit
2d2d84c4
authored
Mar 20, 2008
by
Patrick McHardy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NETFILTER]: nf_nat: remove unused name from struct nf_nat_protocol
Signed-off-by:
Patrick McHardy
<
kaber@trash.net
>
parent
ca6a5074
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
8 deletions
+0
-8
include/net/netfilter/nf_nat_protocol.h
include/net/netfilter/nf_nat_protocol.h
+0
-3
net/ipv4/netfilter/nf_nat_proto_gre.c
net/ipv4/netfilter/nf_nat_proto_gre.c
+0
-1
net/ipv4/netfilter/nf_nat_proto_icmp.c
net/ipv4/netfilter/nf_nat_proto_icmp.c
+0
-1
net/ipv4/netfilter/nf_nat_proto_tcp.c
net/ipv4/netfilter/nf_nat_proto_tcp.c
+0
-1
net/ipv4/netfilter/nf_nat_proto_udp.c
net/ipv4/netfilter/nf_nat_proto_udp.c
+0
-1
net/ipv4/netfilter/nf_nat_proto_unknown.c
net/ipv4/netfilter/nf_nat_proto_unknown.c
+0
-1
No files found.
include/net/netfilter/nf_nat_protocol.h
View file @
2d2d84c4
...
@@ -8,9 +8,6 @@ struct nf_nat_range;
...
@@ -8,9 +8,6 @@ struct nf_nat_range;
struct
nf_nat_protocol
struct
nf_nat_protocol
{
{
/* Protocol name */
const
char
*
name
;
/* Protocol number. */
/* Protocol number. */
unsigned
int
protonum
;
unsigned
int
protonum
;
...
...
net/ipv4/netfilter/nf_nat_proto_gre.c
View file @
2d2d84c4
...
@@ -118,7 +118,6 @@ gre_manip_pkt(struct sk_buff *skb, unsigned int iphdroff,
...
@@ -118,7 +118,6 @@ gre_manip_pkt(struct sk_buff *skb, unsigned int iphdroff,
}
}
static
const
struct
nf_nat_protocol
gre
=
{
static
const
struct
nf_nat_protocol
gre
=
{
.
name
=
"GRE"
,
.
protonum
=
IPPROTO_GRE
,
.
protonum
=
IPPROTO_GRE
,
.
me
=
THIS_MODULE
,
.
me
=
THIS_MODULE
,
.
manip_pkt
=
gre_manip_pkt
,
.
manip_pkt
=
gre_manip_pkt
,
...
...
net/ipv4/netfilter/nf_nat_proto_icmp.c
View file @
2d2d84c4
...
@@ -72,7 +72,6 @@ icmp_manip_pkt(struct sk_buff *skb,
...
@@ -72,7 +72,6 @@ icmp_manip_pkt(struct sk_buff *skb,
}
}
const
struct
nf_nat_protocol
nf_nat_protocol_icmp
=
{
const
struct
nf_nat_protocol
nf_nat_protocol_icmp
=
{
.
name
=
"ICMP"
,
.
protonum
=
IPPROTO_ICMP
,
.
protonum
=
IPPROTO_ICMP
,
.
me
=
THIS_MODULE
,
.
me
=
THIS_MODULE
,
.
manip_pkt
=
icmp_manip_pkt
,
.
manip_pkt
=
icmp_manip_pkt
,
...
...
net/ipv4/netfilter/nf_nat_proto_tcp.c
View file @
2d2d84c4
...
@@ -81,7 +81,6 @@ tcp_manip_pkt(struct sk_buff *skb,
...
@@ -81,7 +81,6 @@ tcp_manip_pkt(struct sk_buff *skb,
}
}
const
struct
nf_nat_protocol
nf_nat_protocol_tcp
=
{
const
struct
nf_nat_protocol
nf_nat_protocol_tcp
=
{
.
name
=
"TCP"
,
.
protonum
=
IPPROTO_TCP
,
.
protonum
=
IPPROTO_TCP
,
.
me
=
THIS_MODULE
,
.
me
=
THIS_MODULE
,
.
manip_pkt
=
tcp_manip_pkt
,
.
manip_pkt
=
tcp_manip_pkt
,
...
...
net/ipv4/netfilter/nf_nat_proto_udp.c
View file @
2d2d84c4
...
@@ -72,7 +72,6 @@ udp_manip_pkt(struct sk_buff *skb,
...
@@ -72,7 +72,6 @@ udp_manip_pkt(struct sk_buff *skb,
}
}
const
struct
nf_nat_protocol
nf_nat_protocol_udp
=
{
const
struct
nf_nat_protocol
nf_nat_protocol_udp
=
{
.
name
=
"UDP"
,
.
protonum
=
IPPROTO_UDP
,
.
protonum
=
IPPROTO_UDP
,
.
me
=
THIS_MODULE
,
.
me
=
THIS_MODULE
,
.
manip_pkt
=
udp_manip_pkt
,
.
manip_pkt
=
udp_manip_pkt
,
...
...
net/ipv4/netfilter/nf_nat_proto_unknown.c
View file @
2d2d84c4
...
@@ -46,7 +46,6 @@ unknown_manip_pkt(struct sk_buff *skb,
...
@@ -46,7 +46,6 @@ unknown_manip_pkt(struct sk_buff *skb,
}
}
const
struct
nf_nat_protocol
nf_nat_unknown_protocol
=
{
const
struct
nf_nat_protocol
nf_nat_unknown_protocol
=
{
.
name
=
"unknown"
,
/* .me isn't set: getting a ref to this cannot fail. */
/* .me isn't set: getting a ref to this cannot fail. */
.
manip_pkt
=
unknown_manip_pkt
,
.
manip_pkt
=
unknown_manip_pkt
,
.
in_range
=
unknown_in_range
,
.
in_range
=
unknown_in_range
,
...
...
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