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.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()
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()
190 unsigned int sctphoff; sctp_csum_check() local
[all...]
/linux/net/openvswitch/
H A Dactions.c723 unsigned int sctphoff = skb_transport_offset(skb); in set_sctp() local
728 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp()
734 old_correct_csum = sctp_compute_cksum(skb, sctphoff); in set_sctp()
739 new_csum = sctp_compute_cksum(skb, sctphoff); in set_sctp()