: nf_nat: remove unused name from struct nf_nat_protocol
Subsystems (2)
[NETFILTER]: nf_nat: remove unused name from struct nf_nat_protocol
Signed-off-by Patrick McHardy <[email protected]>
---
commit a12512d2930b16ec0e66f7fceb698109d97aa857
tree d6fc51739bc1a1261d45e8960a3eba03ef98690c
parent bde9b6732e54a36d59a85dcf2fbcc29e202185fb
author Patrick McHardy <[email protected]> Mon, 25 Feb 2008 14:20:29 +0100 committer Patrick McHardy <[email protected]> Mon, 25 Feb 2008 14:20:29 +0100
include/net/netfilter/nf_nat_protocol.h | 3 --- net/ipv4/netfilter/nf_nat_proto_gre.c | 1 - net/ipv4/netfilter/nf_nat_proto_icmp.c | 1 - net/ipv4/netfilter/nf_nat_proto_tcp.c | 1 - net/ipv4/netfilter/nf_nat_proto_udp.c | 1 - net/ipv4/netfilter/nf_nat_proto_unknown.c | 1 - 6 files changed, 0 insertions(+), 8 deletions(-)
include/net/netfilter/nf_nat_protocol.h +0 -3
@@ -8,9 +8,6 @@ struct nf_nat_range;struct nf_nat_protocol { -/* Protocol name */ -const char *name; -/* Protocol number. */ unsigned int protonum;
net/ipv4/netfilter/nf_nat_proto_gre.c +0 -1
@@ -118,7 +118,6 @@ gre_manip_pkt(struct sk_buff *skb, unsigned int iphdroff, }static const struct nf_nat_protocol gre = { - .name ="GRE" , .protonum =IPPROTO_GRE , .me =THIS_MODULE , .manip_pkt = gre_manip_pkt,
net/ipv4/netfilter/nf_nat_proto_icmp.c +0 -1
@@ -72,7 +72,6 @@ icmp_manip_pkt(struct sk_buff *skb, }const struct nf_nat_protocol nf_nat_protocol_icmp = { - .name ="ICMP" , .protonum =IPPROTO_ICMP , .me =THIS_MODULE , .manip_pkt = icmp_manip_pkt,
net/ipv4/netfilter/nf_nat_proto_tcp.c +0 -1
@@ -81,7 +81,6 @@ tcp_manip_pkt(struct sk_buff *skb, }const struct nf_nat_protocol nf_nat_protocol_tcp = { - .name ="TCP" , .protonum =IPPROTO_TCP , .me =THIS_MODULE , .manip_pkt = tcp_manip_pkt,
net/ipv4/netfilter/nf_nat_proto_udp.c +0 -1
@@ -72,7 +72,6 @@ udp_manip_pkt(struct sk_buff *skb, }const struct nf_nat_protocol nf_nat_protocol_udp = { - .name ="UDP" , .protonum =IPPROTO_UDP , .me =THIS_MODULE , .manip_pkt = udp_manip_pkt,
net/ipv4/netfilter/nf_nat_proto_unknown.c +0 -1
@@ -46,7 +46,6 @@ unknown_manip_pkt(struct sk_buff *skb, }const struct nf_nat_protocol nf_nat_unknown_protocol = { - .name ="unknown" ,/* .me isn't set: getting a ref to this cannot fail. */ .manip_pkt = unknown_manip_pkt, .in_range = unknown_in_range,