Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/netfilter/ipvs/
H A Dip_vs_proto_sctp.c83 static void sctp_nat_csum(struct sk_buff *skb, struct sctphdr *sctph, in sctp_nat_csum() argument
86 sctph->checksum = sctp_compute_cksum(skb, sctphoff); in sctp_nat_csum()
94 struct sctphdr *sctph; 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()
126 if (sctph->source != cp->vport || payload_csum || in sctp_snat_handler()
128 sctph->source = cp->vport; in sctp_snat_handler()
129 sctp_nat_csum(skb, sctph, sctphoff); in sctp_snat_handler()
141 struct sctphdr *sctph; in sctp_dnat_handler() local
151 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_dnat_handler()
[all …]
/OK3568_Linux_fs/kernel/net/sched/
H A Dact_csum.c367 struct sctphdr *sctph; in tcf_csum_sctp() local
372 sctph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*sctph)); in tcf_csum_sctp()
373 if (!sctph) in tcf_csum_sctp()
376 sctph->checksum = sctp_compute_cksum(skb, in tcf_csum_sctp()