9 #include <linux/types.h>
12 #include <linux/module.h>
33 unsigned int iphdroff,
unsigned int hdroff,
51 hdr->
dest = tuple->
dst.u.sctp.port;
54 crc32 = sctp_start_cksum((
u8 *)hdr, skb_headlen(skb) - hdroff);
55 skb_walk_frags(skb, frag)
56 crc32 = sctp_update_cksum((
u8 *)frag->
data, skb_headlen(frag),
58 crc32 = sctp_end_cksum(crc32);
66 .manip_pkt = sctp_manip_pkt,
68 .unique_tuple = sctp_unique_tuple,
69 #if defined(CONFIG_NF_CT_NETLINK) || defined(CONFIG_NF_CT_NETLINK_MODULE)
74 static int __init nf_nat_proto_sctp_init(
void)
92 static void __exit nf_nat_proto_sctp_exit(
void)