Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/ipvs/
Dip_vs_proto_sctp.c84 unsigned int sctphoff) in sctp_nat_csum() argument
86 sctph->checksum = sctp_compute_cksum(skb, sctphoff); in sctp_nat_csum()
95 unsigned int sctphoff = iph->len; in sctp_snat_handler() local
104 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_snat_handler()
123 sctph = (void *) skb_network_header(skb) + sctphoff; in sctp_snat_handler()
129 sctp_nat_csum(skb, sctph, sctphoff); in sctp_snat_handler()
142 unsigned int sctphoff = iph->len; in sctp_dnat_handler() local
151 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_dnat_handler()
170 sctph = (void *) skb_network_header(skb) + sctphoff; in sctp_dnat_handler()
177 sctp_nat_csum(skb, sctph, sctphoff); in sctp_dnat_handler()
[all …]
/linux-6.1.9/net/openvswitch/
Dactions.c746 unsigned int sctphoff = skb_transport_offset(skb); in set_sctp() local
751 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp()
757 old_correct_csum = sctp_compute_cksum(skb, sctphoff); in set_sctp()
762 new_csum = sctp_compute_cksum(skb, sctphoff); in set_sctp()