10 #include <linux/types.h>
12 #include <linux/udp.h>
14 #include <linux/netfilter.h>
15 #include <linux/module.h>
20 static u16 udplite_port_rover;
36 unsigned int iphdroff,
unsigned int hdroff,
50 newport = tuple->
src.u.udp.port;
54 newport = tuple->
dst.u.udp.port;
59 inet_proto_csum_replace2(&hdr->
check, skb, *portptr, newport, 0);
69 .manip_pkt = udplite_manip_pkt,
71 .unique_tuple = udplite_unique_tuple,
72 #if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE)
77 static int __init nf_nat_proto_udplite_init(
void)
95 static void __exit nf_nat_proto_udplite_fini(
void)