12 #include <linux/kernel.h>
13 #include <linux/module.h>
16 #include <linux/dccp.h>
39 unsigned int iphdroff,
unsigned int hdroff,
44 __be16 *portptr, oldport, newport;
56 newport = tuple->
src.u.dccp.port;
59 newport = tuple->
dst.u.dccp.port;
66 if (hdrsize <
sizeof(*hdr))
71 inet_proto_csum_replace2(&hdr->
dccph_checksum, skb, oldport, newport,
78 .manip_pkt = dccp_manip_pkt,
80 .unique_tuple = dccp_unique_tuple,
81 #if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE)
86 static int __init nf_nat_proto_dccp_init(
void)
104 static void __exit nf_nat_proto_dccp_fini(
void)