Home
last modified time | relevance | path

Searched refs:paylen (Results 1 – 25 of 30) sorted by relevance

12

/linux-6.1.9/net/sctp/
Dsm_make_chunk.c50 __u8 type, __u8 flags, int paylen,
53 __u8 flags, int paylen, gfp_t gfp);
55 __u8 type, __u8 flags, int paylen,
144 size_t paylen) in sctp_init_cause() argument
151 len = sizeof(err) + paylen; in sctp_init_cause()
1010 size_t paylen) in sctp_make_abort_user() argument
1017 sizeof(struct sctp_errhdr) + paylen); in sctp_make_abort_user()
1021 if (paylen) { in sctp_make_abort_user()
1023 payload = kmalloc(paylen, GFP_KERNEL); in sctp_make_abort_user()
1027 err = memcpy_from_msg(payload, msg, paylen); in sctp_make_abort_user()
[all …]
Dsm_statefuns.c55 const void *payload, size_t paylen);
113 const size_t paylen);
1173 size_t paylen = 0; in sctp_sf_beat_8_3() local
1190 paylen = ntohs(chunk->chunk_hdr->length) - sizeof(struct sctp_chunkhdr); in sctp_sf_beat_8_3()
1192 if (ntohs(param_hdr->length) > paylen) in sctp_sf_beat_8_3()
1196 if (!pskb_pull(chunk->skb, paylen)) in sctp_sf_beat_8_3()
1199 reply = sctp_make_heartbeat_ack(asoc, chunk, param_hdr, paylen); in sctp_sf_beat_8_3()
4699 const size_t paylen) in sctp_sf_abort_violation() argument
4720 abort = sctp_make_abort_violation(asoc, chunk, payload, paylen); in sctp_sf_abort_violation()
6325 const void *payload, size_t paylen) in sctp_abort_pkt_new() argument
[all …]
/linux-6.1.9/include/net/sctp/
Dsm.h187 __u8 flags, int paylen, gfp_t gfp);
204 int sctp_init_cause(struct sctp_chunk *chunk, __be16 cause, size_t paylen);
217 const size_t paylen);
234 const size_t paylen);
239 size_t paylen, size_t reserve_tail);
/linux-6.1.9/drivers/infiniband/sw/rxe/
Drxe_icrc.c146 icrcp = (__be32 *)(pkt->hdr + pkt->paylen - RXE_ICRC_SIZE); in rxe_icrc_check()
170 icrcp = (__be32 *)(pkt->hdr + pkt->paylen - RXE_ICRC_SIZE); in rxe_icrc_generate()
Drxe_req.c390 int paylen; in init_req_packet() local
396 paylen = rxe_opcode[opcode].length + payload + pad + RXE_ICRC_SIZE; in init_req_packet()
397 pkt->paylen = paylen; in init_req_packet()
400 skb = rxe_init_packet(rxe, av, paylen, pkt); in init_req_packet()
Drxe_net.c157 pkt->paylen = be16_to_cpu(udph->len) - sizeof(*udph); in rxe_udp_encap_recv()
446 int paylen, struct rxe_pkt_info *pkt) in rxe_init_packet() argument
471 skb = alloc_skb(paylen + hdr_len + LL_RESERVED_SPACE(ndev), in rxe_init_packet()
492 pkt->hdr = skb_put(skb, paylen); in rxe_init_packet()
Drxe_resp.c664 int paylen; in prepare_ack_packet() local
672 paylen = rxe_opcode[opcode].length + payload + pad + RXE_ICRC_SIZE; in prepare_ack_packet()
674 skb = rxe_init_packet(rxe, &qp->pri_av, paylen, ack); in prepare_ack_packet()
681 ack->paylen = paylen; in prepare_ack_packet()
Drxe_loc.h95 int paylen, struct rxe_pkt_info *pkt);
Drxe_hdr.h22 u16 paylen; /* length of bth - icrc */ member
927 return pkt->paylen - rxe_opcode[pkt->opcode].offset[RXE_PAYLOAD] in payload_size()
/linux-6.1.9/drivers/net/ethernet/sfc/
Def100_tx.c201 u32 paylen; in ef100_make_tso_desc() local
228 paylen = skb->len - tcp_offset; in ef100_make_tso_desc()
229 csum_replace_by_diff(&tcp->check, (__force __wsum)htonl(paylen)); in ef100_make_tso_desc()
/linux-6.1.9/drivers/media/usb/dvb-usb/
Dcxusb-analog.c86 auxbuf->paylen = 0; in cxusb_auxbuf_init()
96 if (WARN_ON(pos > auxbuf->paylen)) in cxusb_auxbuf_head_trim()
101 pos, auxbuf->paylen - pos); in cxusb_auxbuf_head_trim()
103 memmove(auxbuf->buf, auxbuf->buf + pos, auxbuf->paylen - pos); in cxusb_auxbuf_head_trim()
104 auxbuf->paylen -= pos; in cxusb_auxbuf_head_trim()
109 return auxbuf->paylen; in cxusb_auxbuf_paylen()
157 memcpy(auxbuf->buf + auxbuf->paylen, urb->transfer_buffer + in cxusb_auxbuf_append_urb()
160 auxbuf->paylen += to_copy; in cxusb_auxbuf_append_urb()
170 if (pos + len > auxbuf->paylen) in cxusb_auxbuf_copy()
Dcxusb.h93 unsigned int paylen; member
/linux-6.1.9/drivers/infiniband/core/
Dmad_rmpp.c571 u32 paylen = 0; in send_next_seg() local
579 paylen = (mad_send_wr->send_buf.seg_count * in send_next_seg()
586 paylen = mad_send_wr->send_buf.seg_rmpp_size - mad_send_wr->pad; in send_next_seg()
588 rmpp_mad->rmpp_hdr.paylen_newwin = cpu_to_be32(paylen); in send_next_seg()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1873 u32 paylen, l4_offset; in iavf_tso() local
1912 paylen = skb->len - l4_offset; in iavf_tso()
1914 (__force __wsum)htonl(paylen)); in iavf_tso()
1933 paylen = skb->len - l4_offset; in iavf_tso()
1937 (__force __wsum)htonl(paylen)); in iavf_tso()
1942 (__force __wsum)htonl(paylen)); in iavf_tso()
/linux-6.1.9/drivers/net/ethernet/intel/ice/
Dice_txrx.c1973 u32 paylen; in ice_tso() local
2018 paylen = skb->len - l4_start; in ice_tso()
2020 (__force __wsum)htonl(paylen)); in ice_tso()
2042 paylen = skb->len - l4_start; in ice_tso()
2046 (__force __wsum)htonl(paylen)); in ice_tso()
2051 (__force __wsum)htonl(paylen)); in ice_tso()
/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_tx_dqo.c358 u32 paylen; in gve_prep_tso() local
380 paylen = skb->len - skb_transport_offset(skb); in gve_prep_tso()
386 (__force __wsum)htonl(paylen)); in gve_prep_tso()
/linux-6.1.9/drivers/infiniband/hw/qib/
Dqib_ruc.c190 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in qib_make_grh()
/linux-6.1.9/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_verbs.h160 __be16 paylen; member
/linux-6.1.9/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c3026 u32 paylen, l4_offset; in i40e_tso() local
3073 paylen = skb->len - l4_offset; in i40e_tso()
3075 (__force __wsum)htonl(paylen)); in i40e_tso()
3095 paylen = skb->len - l4_offset; in i40e_tso()
3098 csum_replace_by_diff(&l4.udp->check, (__force __wsum)htonl(paylen)); in i40e_tso()
3102 csum_replace_by_diff(&l4.tcp->check, (__force __wsum)htonl(paylen)); in i40e_tso()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_enet.c51 u16 paylen = 0; in fill_v2_desc_hw() local
95 paylen = skb->len - skb_tcp_all_headers(skb); in fill_v2_desc_hw()
109 paylen = skb->len - skb_tcp_all_headers(skb); in fill_v2_desc_hw()
116 desc->tx.paylen = cpu_to_le16(paylen); in fill_v2_desc_hw()
Dhnae.h190 __le16 paylen; member
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2013 u32 paylen, l4_offset; in igbvf_tso() local
2057 paylen = skb->len - l4_offset; in igbvf_tso()
2058 csum_replace_by_diff(&l4.tcp->check, (__force __wsum)htonl(paylen)); in igbvf_tso()
2219 unsigned int first, u32 paylen, in igbvf_tx_queue_adv() argument
2247 olinfo_status |= ((paylen - hdr_len) << E1000_ADVTXD_PAYLEN_SHIFT); in igbvf_tx_queue_adv()
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dud.c614 grh->paylen = cpu_to_be16( in return_cnp_16B()
672 grh->paylen = cpu_to_be16( in return_cnp()
Druc.c133 hdr->paylen = cpu_to_be16((hwords + nwords) << 2); in hfi1_make_grh()
/linux-6.1.9/drivers/net/wireless/ath/ar5523/
Dar5523.c806 int error = 0, paylen; in ar5523_tx_work_locked() local
832 paylen = skb->len; in ar5523_tx_work_locked()
852 desc->buflen = cpu_to_be32(paylen); in ar5523_tx_work_locked()

12