Searched refs:sctph (Results 1 – 4 of 4) sorted by relevance
| /linux/net/netfilter/ipvs/ |
| H A D | ip_vs_proto_sctp.c | 84 static void sctp_nat_csum(struct sk_buff *skb, struct sctphdr *sctph, in sctp_nat_csum() argument 87 sctph->checksum = sctp_compute_cksum(skb, sctphoff); in sctp_nat_csum() 95 struct sctphdr *sctph; in sctp_snat_handler() local 105 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_snat_handler() 124 sctph = (void *) skb_network_header(skb) + sctphoff; in sctp_snat_handler() 127 if (sctph->source != cp->vport || payload_csum || in sctp_snat_handler() 129 sctph->source = cp->vport; in sctp_snat_handler() 131 sctp_nat_csum(skb, sctph, sctphoff); in sctp_snat_handler() 143 struct sctphdr *sctph; in sctp_dnat_handler() local 153 if (skb_ensure_writable(skb, sctphoff + sizeof(*sctph))) in sctp_dnat_handler() [all …]
|
| /linux/net/sched/ |
| H A D | act_csum.c | 369 struct sctphdr *sctph; in tcf_csum_sctp() local 374 sctph = tcf_csum_skb_nextlayer(skb, ihl, ipl, sizeof(*sctph)); in tcf_csum_sctp() 375 if (!sctph) in tcf_csum_sctp() 378 sctph->checksum = sctp_compute_cksum(skb, in tcf_csum_sctp()
|
| /linux/drivers/net/ethernet/intel/iavf/ |
| H A D | iavf_fdir.c | 460 struct sctphdr *sctph = (struct sctphdr *)hdr->buffer; in iavf_fill_fdir_sctp_hdr() local 465 sctph->source = fltr->ip_data.src_port; in iavf_fill_fdir_sctp_hdr() 470 sctph->dest = fltr->ip_data.dst_port; in iavf_fill_fdir_sctp_hdr()
|
| /linux/drivers/net/ethernet/intel/ice/virt/ |
| H A D | fdir.c | 945 struct sctphdr *sctph; in ice_vc_fdir_parse_pattern() local 1026 sctph = (struct sctphdr *)hdr->buffer; in ice_vc_fdir_parse_pattern() 1036 input->ip.v4.src_port = sctph->source; in ice_vc_fdir_parse_pattern() 1037 input->ip.v4.dst_port = sctph->dest; in ice_vc_fdir_parse_pattern() 1039 input->ip.v6.src_port = sctph->source; in ice_vc_fdir_parse_pattern() 1040 input->ip.v6.dst_port = sctph->dest; in ice_vc_fdir_parse_pattern()
|