[NETFILTER]: Add ctnetlink subsystem
[deliverable/linux.git] / net / ipv4 / netfilter / ip_nat_proto_icmp.c
index 6596c9ee1655914db4789691416d60aee56ea86c..38fdfc2093c40ba9c667168d68ead66d387f0744 100644 (file)
@@ -107,10 +107,15 @@ icmp_print_range(char *buffer, const struct ip_nat_range *range)
 }
 
 struct ip_nat_protocol ip_nat_protocol_icmp
-= { "ICMP", IPPROTO_ICMP,
+= { "ICMP", IPPROTO_ICMP, THIS_MODULE,
     icmp_manip_pkt,
     icmp_in_range,
     icmp_unique_tuple,
     icmp_print,
-    icmp_print_range
+    icmp_print_range,
+#if defined(CONFIG_IP_NF_CONNTRACK_NETLINK) || \
+    defined(CONFIG_IP_NF_CONNTRACK_NETLINK_MODULE)
+    ip_nat_port_range_to_nfattr,
+    ip_nat_port_nfattr_to_range,
+#endif
 };
This page took 0.029449 seconds and 5 git commands to generate.