Searched refs:sctph (Results 1 – 1 of 1) sorted by relevance
80 static void sctp_nat_csum(struct sk_buff *skb, sctp_sctphdr_t *sctph, in sctp_nat_csum() argument83 sctph->checksum = sctp_compute_cksum(skb, sctphoff); in sctp_nat_csum()91 sctp_sctphdr_t *sctph; in sctp_snat_handler() local101 if (!skb_make_writable(skb, sctphoff + sizeof(*sctph))) in sctp_snat_handler()120 sctph = (void *) skb_network_header(skb) + sctphoff; in sctp_snat_handler()123 if (sctph->source != cp->vport || payload_csum || in sctp_snat_handler()125 sctph->source = cp->vport; in sctp_snat_handler()126 sctp_nat_csum(skb, sctph, sctphoff); in sctp_snat_handler()138 sctp_sctphdr_t *sctph; in sctp_dnat_handler() local148 if (!skb_make_writable(skb, sctphoff + sizeof(*sctph))) in sctp_dnat_handler()[all …]