/linux-6.6.21/include/net/sctp/ |
D | checksum.h | 54 struct sctphdr *sh = (struct sctphdr *)(skb->data + offset); in sctp_compute_cksum()
|
D | sctp.h | 139 struct sctphdr *, struct sctp_association **, 576 __u32 overhead = sizeof(struct sctphdr) + extra; in __sctp_mtu_payload() 624 sizeof(struct sctphdr); in sctp_transport_pl_hlen()
|
/linux-6.6.21/net/netfilter/ipvs/ |
D | ip_vs_proto_sctp.c | 23 struct sctphdr *sh, _sctph; in sctp_conn_schedule() 83 static void sctp_nat_csum(struct sk_buff *skb, struct sctphdr *sctph, in sctp_nat_csum() 94 struct sctphdr *sctph; in sctp_snat_handler() 141 struct sctphdr *sctph; in sctp_dnat_handler() 189 struct sctphdr *sh; in sctp_csum_check() 199 sh = (struct sctphdr *)(skb->data + sctphoff); in sctp_csum_check() 392 cofs = ihl + sizeof(struct sctphdr); in set_sctp_state()
|
D | ip_vs_core.c | 1055 sch = skb_header_pointer(skb, nh_len + sizeof(struct sctphdr), in is_sctp_abort() 1089 sch = skb_header_pointer(skb, iph->len + sizeof(struct sctphdr), in is_new_conn()
|
/linux-6.6.21/net/sctp/ |
D | input.c | 73 struct sctphdr *sh = sctp_hdr(skb); in sctp_rcv_checksum() 112 if (skb->len < sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr) + in sctp_rcv() 121 !pskb_may_pull(skb, sizeof(struct sctphdr))) in sctp_rcv() 136 __skb_pull(skb, sizeof(struct sctphdr)); in sctp_rcv() 461 struct sctphdr *sctphdr, in sctp_err_lookup() argument 472 __u32 vtag = ntohl(sctphdr->vtag); in sctp_err_lookup() 511 sizeof(struct sctphdr), in sctp_err_lookup() 866 sizeof(struct sctphdr)); in __sctp_rcv_lookup_endpoint() 1129 struct sctphdr *sh = sctp_hdr(skb); in __sctp_rcv_init_lookup()
|
D | output.c | 227 overhead += sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr); in sctp_packet_bundle_pad() 549 struct sctphdr *sh = in sctp_packet_pack() 550 (struct sctphdr *)skb_transport_header(head); in sctp_packet_pack() 558 head->csum_offset = offsetof(struct sctphdr, checksum); in sctp_packet_pack() 576 struct sctphdr *sh; in sctp_packet_transmit() 606 sh = skb_push(head, sizeof(struct sctphdr)); in sctp_packet_transmit()
|
D | offload.c | 43 struct sctphdr *sh; in sctp_gso_segment()
|
D | ipv6.c | 529 struct sctphdr *sh = sctp_hdr(skb); in sctp_v6_from_skb() 906 struct sctphdr *sh; in sctp_inet6_skb_msgname()
|
D | protocol.c | 219 struct sctphdr *sh = sctp_hdr(skb); in sctp_v4_from_skb() 994 struct sctphdr *sh = sctp_hdr(skb); in sctp_inet_skb_msgname()
|
/linux-6.6.21/net/netfilter/ipset/ |
D | ip_set_getport.c | 42 struct sctphdr _sh; in get_port() 43 const struct sctphdr *sh; in get_port()
|
/linux-6.6.21/net/netfilter/ |
D | nf_conntrack_proto_sctp.c | 147 for ((offset) = (dataoff) + sizeof(struct sctphdr), (count) = 0; \ 246 const struct sctphdr *sh, unsigned int dataoff) in sctp_new() 304 const struct sctphdr *sh; in sctp_error() 307 if (skb->len < dataoff + sizeof(struct sctphdr)) { in sctp_error() 318 sh = (const struct sctphdr *)(skb->data + dataoff); in sctp_error() 340 const struct sctphdr *sh; in nf_conntrack_sctp_packet() 341 struct sctphdr _sctph; in nf_conntrack_sctp_packet()
|
D | xt_sctp.c | 121 const struct sctphdr *sh; in sctp_mt() 122 struct sctphdr _sh; in sctp_mt()
|
D | nft_payload.c | 739 struct sctphdr *sh; in nft_payload_csum_sctp() 744 sh = (struct sctphdr *)(skb->data + offset); in nft_payload_csum_sctp() 923 if (priv->csum_offset != offsetof(struct sctphdr, checksum)) in nft_payload_set_init()
|
D | nf_nat_proto.c | 105 struct sctphdr *hdr; in sctp_manip_pkt() 118 hdr = (struct sctphdr *)(skb->data + hdroff); in sctp_manip_pkt()
|
D | nft_exthdr.c | 375 unsigned int offset = nft_thoff(pkt) + sizeof(struct sctphdr); in nft_exthdr_sctp_eval()
|
/linux-6.6.21/include/linux/ |
D | sctp.h | 45 struct sctphdr { struct 52 static inline struct sctphdr *sctp_hdr(const struct sk_buff *skb) in sctp_hdr() argument 54 return (struct sctphdr *)skb_transport_header(skb); in sctp_hdr()
|
/linux-6.6.21/net/core/ |
D | gso.c | 157 thlen = sizeof(struct sctphdr); in skb_gso_transport_seglen()
|
/linux-6.6.21/security/ |
D | lsm_audit.c | 79 struct sctphdr *sh = sctp_hdr(skb); in ipv4_skb_to_auditdata() 155 struct sctphdr _sctph, *sh; in ipv6_skb_to_auditdata()
|
/linux-6.6.21/net/openvswitch/ |
D | flow.c | 238 sizeof(struct sctphdr)); in sctphdr_ok() 743 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4() 866 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4()
|
D | actions.c | 749 struct sctphdr *sh; in set_sctp() 753 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp()
|
/linux-6.6.21/drivers/net/ethernet/intel/iavf/ |
D | iavf_fdir.c | 459 struct sctphdr *sctph = (struct sctphdr *)hdr->buffer; in iavf_fill_fdir_sctp_hdr()
|
/linux-6.6.21/net/sched/ |
D | act_csum.c | 368 struct sctphdr *sctph; in tcf_csum_sctp()
|
/linux-6.6.21/drivers/net/ethernet/intel/ice/ |
D | ice_virtchnl_fdir.c | 838 struct sctphdr *sctph; in ice_vc_fdir_parse_pattern() 919 sctph = (struct sctphdr *)hdr->buffer; in ice_vc_fdir_parse_pattern()
|
/linux-6.6.21/drivers/net/ethernet/huawei/hinic/ |
D | hinic_tx.c | 257 *l4_len = sizeof(struct sctphdr); in get_inner_l4_info()
|
/linux-6.6.21/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 285 struct sctphdr *sctp; in i40e_create_dummy_sctp_packet() 290 sctp = (struct sctphdr *)tmp; in i40e_create_dummy_sctp_packet() 3412 offset |= (sizeof(struct sctphdr) >> 2) << in i40e_tx_enable_csum()
|