Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/ipvs/
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 …]
/linux-6.1.9/net/sched/
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()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c390 struct sctphdr *sctph = (struct sctphdr *)hdr->buffer; in iavf_fill_fdir_sctp_hdr() local
395 sctph->source = fltr->ip_data.src_port; in iavf_fill_fdir_sctp_hdr()
400 sctph->dest = fltr->ip_data.dst_port; in iavf_fill_fdir_sctp_hdr()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_virtchnl_fdir.c750 struct sctphdr *sctph; in ice_vc_fdir_parse_pattern() local
831 sctph = (struct sctphdr *)hdr->buffer; in ice_vc_fdir_parse_pattern()
841 input->ip.v4.src_port = sctph->source; in ice_vc_fdir_parse_pattern()
842 input->ip.v4.dst_port = sctph->dest; in ice_vc_fdir_parse_pattern()
844 input->ip.v6.src_port = sctph->source; in ice_vc_fdir_parse_pattern()
845 input->ip.v6.dst_port = sctph->dest; in ice_vc_fdir_parse_pattern()