Searched refs:sctph (Results 1 – 1 of 1) sorted by relevance
71 static void sctp_nat_csum(struct sk_buff *skb, sctp_sctphdr_t *sctph, in sctp_nat_csum() argument74 sctph->checksum = sctp_compute_cksum(skb, sctphoff); in sctp_nat_csum()82 sctp_sctphdr_t *sctph; in sctp_snat_handler() local92 if (!skb_make_writable(skb, sctphoff + sizeof(*sctph))) in sctp_snat_handler()111 sctph = (void *) skb_network_header(skb) + sctphoff; in sctp_snat_handler()114 if (sctph->source != cp->vport || payload_csum || in sctp_snat_handler()116 sctph->source = cp->vport; in sctp_snat_handler()117 sctp_nat_csum(skb, sctph, sctphoff); in sctp_snat_handler()129 sctp_sctphdr_t *sctph; in sctp_dnat_handler() local139 if (!skb_make_writable(skb, sctphoff + sizeof(*sctph))) in sctp_dnat_handler()[all …]