11 #include <linux/module.h>
13 #include <linux/netfilter.h>
14 #include <linux/netfilter/x_tables.h>
22 pr_info(
"%s: multiple ranges no longer supported\n",
50 ct = nf_ct_get(skb, &ctinfo);
67 ct = nf_ct_get(skb, &ctinfo);
82 ct = nf_ct_get(skb, &ctinfo);
97 ct = nf_ct_get(skb, &ctinfo);
108 .checkentry = xt_nat_checkentry_v0,
109 .target = xt_snat_target_v0,
120 .checkentry = xt_nat_checkentry_v0,
121 .target = xt_dnat_target_v0,
132 .target = xt_snat_target_v1,
142 .target = xt_dnat_target_v1,
151 static int __init xt_nat_init(
void)
157 static void __exit xt_nat_exit(
void)