Searched refs:sctphoff (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/net/netfilter/ipvs/ |
D | ip_vs_proto_sctp.c | 84 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.6.21/net/openvswitch/ |
D | actions.c | 748 unsigned int sctphoff = skb_transport_offset(skb); in set_sctp() local 753 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp() 759 old_correct_csum = sctp_compute_cksum(skb, sctphoff); in set_sctp() 764 new_csum = sctp_compute_cksum(skb, sctphoff); in set_sctp()
|