Searched refs:sctph (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/net/netfilter/ipvs/ |
D | ip_vs_proto_sctp.c | 83 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-v5.15/net/sched/ |
D | act_csum.c | 368 struct sctphdr *sctph; in tcf_csum_sctp() local 373 sctph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*sctph)); in tcf_csum_sctp() 374 if (!sctph) in tcf_csum_sctp() 377 sctph->checksum = sctp_compute_cksum(skb, in tcf_csum_sctp()
|
/Linux-v5.15/drivers/net/ethernet/intel/iavf/ |
D | iavf_fdir.c | 390 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-v5.15/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl_fdir.c | 1021 struct sctphdr *sctph; in ice_vc_fdir_parse_pattern() local 1102 sctph = (struct sctphdr *)hdr->buffer; in ice_vc_fdir_parse_pattern() 1112 input->ip.v4.src_port = sctph->source; in ice_vc_fdir_parse_pattern() 1113 input->ip.v4.dst_port = sctph->dest; in ice_vc_fdir_parse_pattern() 1115 input->ip.v6.src_port = sctph->source; in ice_vc_fdir_parse_pattern() 1116 input->ip.v6.dst_port = sctph->dest; in ice_vc_fdir_parse_pattern()
|