Searched refs:sctphoff (Results 1 – 2 of 2) sorted by relevance
/linux-6.12.1/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() 130 sctp_nat_csum(skb, sctph, sctphoff); in sctp_snat_handler() 143 unsigned int sctphoff = iph->len; in sctp_dnat_handler() local 152 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_dnat_handler() 171 sctph = (void *) skb_network_header(skb) + sctphoff; in sctp_dnat_handler() 179 sctp_nat_csum(skb, sctph, sctphoff); in sctp_dnat_handler() [all …]
|
/linux-6.12.1/net/openvswitch/ |
D | actions.c | 764 unsigned int sctphoff = skb_transport_offset(skb); in set_sctp() local 769 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp() 775 old_correct_csum = sctp_compute_cksum(skb, sctphoff); in set_sctp() 780 new_csum = sctp_compute_cksum(skb, sctphoff); in set_sctp()
|