Home
last modified time | relevance | path

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

/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_proto_sctp.c80 static void sctp_nat_csum(struct sk_buff *skb, struct sctphdr *sctph, in sctp_nat_csum() argument
83 sctph->checksum = sctp_compute_cksum(skb, sctphoff); in sctp_nat_csum()
91 struct sctphdr *sctph; in sctp_snat_handler() local
101 if (!skb_make_writable(skb, sctphoff + sizeof(*sctph))) in sctp_snat_handler()
120 sctph = (void *) skb_network_header(skb) + sctphoff; in sctp_snat_handler()
123 if (sctph->source != cp->vport || payload_csum || in sctp_snat_handler()
125 sctph->source = cp->vport; in sctp_snat_handler()
126 sctp_nat_csum(skb, sctph, sctphoff); in sctp_snat_handler()
138 struct sctphdr *sctph; in sctp_dnat_handler() local
148 if (!skb_make_writable(skb, sctphoff + sizeof(*sctph))) in sctp_dnat_handler()
[all …]
/Linux-v4.19/net/sched/
Dact_csum.c359 struct sctphdr *sctph; in tcf_csum_sctp() local
364 sctph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*sctph)); in tcf_csum_sctp()
365 if (!sctph) in tcf_csum_sctp()
368 sctph->checksum = sctp_compute_cksum(skb, in tcf_csum_sctp()