Home
last modified time | relevance | path

Searched refs:sctphdr (Results 1 – 25 of 37) sorted by relevance

12

/linux-5.19.10/include/net/sctp/
Dchecksum.h54 struct sctphdr *sh = (struct sctphdr *)(skb->data + offset); in sctp_compute_cksum()
Dsctp.h144 struct sctphdr *, struct sctp_association **,
581 __u32 overhead = sizeof(struct sctphdr) + extra; in __sctp_mtu_payload()
629 sizeof(struct sctphdr); in sctp_transport_pl_hlen()
Dstructs.h611 struct sctphdr *sctp_hdr;
/linux-5.19.10/net/netfilter/
Dnf_conntrack_proto_sctp.c157 for ((offset) = (dataoff) + sizeof(struct sctphdr), (count) = 0; \
273 const struct sctphdr *sh, unsigned int dataoff) in sctp_new()
331 const struct sctphdr *sh; in sctp_error()
334 if (skb->len < dataoff + sizeof(struct sctphdr)) { in sctp_error()
345 sh = (const struct sctphdr *)(skb->data + dataoff); in sctp_error()
367 const struct sctphdr *sh; in nf_conntrack_sctp_packet()
368 struct sctphdr _sctph; in nf_conntrack_sctp_packet()
Dxt_sctp.c122 const struct sctphdr *sh; in sctp_mt()
123 struct sctphdr _sh; in sctp_mt()
Dnft_payload.c604 struct sctphdr *sh; in nft_payload_csum_sctp()
609 sh = (struct sctphdr *)(skb->data + offset); in nft_payload_csum_sctp()
778 if (priv->csum_offset != offsetof(struct sctphdr, checksum)) in nft_payload_set_init()
Dnf_nat_proto.c105 struct sctphdr *hdr; in sctp_manip_pkt()
118 hdr = (struct sctphdr *)(skb->data + hdroff); in sctp_manip_pkt()
Dnft_exthdr.c372 unsigned int offset = nft_thoff(pkt) + sizeof(struct sctphdr); in nft_exthdr_sctp_eval()
/linux-5.19.10/net/netfilter/ipvs/
Dip_vs_proto_sctp.c23 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()
Dip_vs_core.c1055 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-5.19.10/net/netfilter/ipset/
Dip_set_getport.c42 struct sctphdr _sh; in get_port()
43 const struct sctphdr *sh; in get_port()
/linux-5.19.10/net/sctp/
Dinput.c70 struct sctphdr *sh = sctp_hdr(skb); in sctp_rcv_checksum()
109 if (skb->len < sizeof(struct sctphdr) + sizeof(struct sctp_chunkhdr) + in sctp_rcv()
118 !pskb_may_pull(skb, sizeof(struct sctphdr))) in sctp_rcv()
133 __skb_pull(skb, sizeof(struct sctphdr)); in sctp_rcv()
476 struct sctphdr *sctphdr, in sctp_err_lookup() argument
487 __u32 vtag = ntohl(sctphdr->vtag); in sctp_err_lookup()
524 sizeof(struct sctphdr), in sctp_err_lookup()
878 sizeof(struct sctphdr)); in __sctp_rcv_lookup_endpoint()
1123 struct sctphdr *sh = sctp_hdr(skb); in __sctp_rcv_init_lookup()
Doutput.c227 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()
Doffload.c42 struct sctphdr *sh; in sctp_gso_segment()
Dipv6.c529 struct sctphdr *sh = sctp_hdr(skb); in sctp_v6_from_skb()
895 struct sctphdr *sh; in sctp_inet6_skb_msgname()
Dprotocol.c219 struct sctphdr *sh = sctp_hdr(skb); in sctp_v4_from_skb()
989 struct sctphdr *sh = sctp_hdr(skb); in sctp_inet_skb_msgname()
/linux-5.19.10/include/linux/
Dsctp.h45 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-5.19.10/security/
Dlsm_audit.c88 struct sctphdr *sh = sctp_hdr(skb); in ipv4_skb_to_auditdata()
167 struct sctphdr _sctph, *sh; in ipv6_skb_to_auditdata()
/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c390 struct sctphdr *sctph = (struct sctphdr *)hdr->buffer; in iavf_fill_fdir_sctp_hdr()
/linux-5.19.10/net/openvswitch/
Dflow.c235 sizeof(struct sctphdr)); in sctphdr_ok()
740 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4()
863 struct sctphdr *sctp = sctp_hdr(skb); in key_extract_l3l4()
Dactions.c747 struct sctphdr *sh; in set_sctp()
751 err = skb_ensure_writable(skb, sctphoff + sizeof(struct sctphdr)); in set_sctp()
/linux-5.19.10/net/sched/
Dact_csum.c368 struct sctphdr *sctph; in tcf_csum_sctp()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c285 struct sctphdr *sctp; in i40e_create_dummy_sctp_packet()
290 sctp = (struct sctphdr *)tmp; in i40e_create_dummy_sctp_packet()
3335 offset |= (sizeof(struct sctphdr) >> 2) << in i40e_tx_enable_csum()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_fdir.c750 struct sctphdr *sctph; in ice_vc_fdir_parse_pattern()
831 sctph = (struct sctphdr *)hdr->buffer; in ice_vc_fdir_parse_pattern()
/linux-5.19.10/drivers/net/ethernet/huawei/hinic/
Dhinic_tx.c257 *l4_len = sizeof(struct sctphdr); in get_inner_l4_info()

12