Home
last modified time | relevance | path

Searched refs:sctphoff (Results 1 – 2 of 2) sorted by relevance

/linux/net/netfilter/ipvs/
H A Dip_vs_proto_sctp.c85 unsigned int sctphoff) in sctp_nat_csum() argument
87 sctph->checksum = sctp_compute_cksum(skb, sctphoff); in sctp_nat_csum()
96 unsigned int sctphoff = iph->len; in sctp_snat_handler() local
105 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_snat_handler()
124 sctph = (void *)skb->data + sctphoff; in sctp_snat_handler()
131 sctp_nat_csum(skb, sctph, sctphoff); in sctp_snat_handler()
144 unsigned int sctphoff = iph->len; in sctp_dnat_handler() local
153 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_dnat_handler()
172 sctph = (void *)skb->data + sctphoff; in sctp_dnat_handler()
180 sctp_nat_csum(skb, sctph, sctphoff); in sctp_dnat_handler()
[all …]
/linux/net/openvswitch/
H A Dactions.c661 unsigned int sctphoff = skb_transport_offset(skb); in set_sctp() local
666 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp()
672 old_correct_csum = sctp_compute_cksum(skb, sctphoff); in set_sctp()
677 new_csum = sctp_compute_cksum(skb, sctphoff); in set_sctp()