Home
last modified time | relevance | path

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

/linux-3.4.99/net/sctp/
Dsm_make_chunk.c73 __u8 type, __u8 flags, int paylen);
118 size_t paylen) in sctp_init_cause() argument
125 len = sizeof(sctp_errhdr_t) + paylen; in sctp_init_cause()
136 size_t paylen) in sctp_init_cause_fixed() argument
143 len = sizeof(sctp_errhdr_t) + paylen; in sctp_init_cause_fixed()
965 size_t paylen) in sctp_make_abort_user() argument
971 retval = sctp_make_abort(asoc, NULL, sizeof(sctp_errhdr_t) + paylen); in sctp_make_abort_user()
975 if (paylen) { in sctp_make_abort_user()
977 payload = kmalloc(paylen, GFP_KERNEL); in sctp_make_abort_user()
981 err = memcpy_fromiovec(payload, msg->msg_iov, paylen); in sctp_make_abort_user()
[all …]
Dsm_statefuns.c73 size_t paylen);
112 const size_t paylen);
1041 size_t paylen = 0; in sctp_sf_beat_8_3() local
1056 paylen = ntohs(chunk->chunk_hdr->length) - sizeof(sctp_chunkhdr_t); in sctp_sf_beat_8_3()
1057 if (!pskb_pull(chunk->skb, paylen)) in sctp_sf_beat_8_3()
1061 chunk->subh.hb_hdr, paylen); in sctp_sf_beat_8_3()
4264 const size_t paylen) in sctp_sf_abort_violation() argument
4285 abort = sctp_make_abort_violation(asoc, chunk, payload, paylen); in sctp_sf_abort_violation()
5828 size_t paylen) in sctp_abort_pkt_new() argument
5839 abort = sctp_make_abort(asoc, chunk, paylen); in sctp_abort_pkt_new()
[all …]
/linux-3.4.99/include/net/sctp/
Dsm.h240 const size_t paylen);
245 size_t paylen,
/linux-3.4.99/drivers/infiniband/core/
Dmad_rmpp.c565 u32 paylen = 0; in send_next_seg() local
573 paylen = mad_send_wr->send_buf.seg_count * IB_MGMT_RMPP_DATA - in send_next_seg()
579 paylen = IB_MGMT_RMPP_DATA - mad_send_wr->pad; in send_next_seg()
581 rmpp_mad->rmpp_hdr.paylen_newwin = cpu_to_be32(paylen); in send_next_seg()
/linux-3.4.99/net/ipv4/netfilter/
Dnf_nat_snmp_basic.c1186 u_int16_t paylen = udplen - sizeof(struct udphdr); in snmp_translate() local
1208 paylen, &map, &udph->check)) { in snmp_translate()
/linux-3.4.99/drivers/infiniband/hw/ipath/
Dipath_ruc.c587 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in ipath_make_grh()
/linux-3.4.99/drivers/infiniband/hw/qib/
Dqib_ruc.c664 hdr->paylen = cpu_to_be16((hwords - 2 + nwords + SIZE_OF_CRC) << 2); in qib_make_grh()
/linux-3.4.99/drivers/net/ethernet/intel/igbvf/
Dnetdev.c2124 int tx_flags, int count, u32 paylen, in igbvf_tx_queue_adv() argument
2152 olinfo_status |= ((paylen - hdr_len) << E1000_ADVTXD_PAYLEN_SHIFT); in igbvf_tx_queue_adv()
/linux-3.4.99/include/rdma/
Dib_verbs.h402 __be16 paylen; member
/linux-3.4.99/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c5865 u32 tx_flags, unsigned int paylen) in ixgbe_tx_olinfo_status() argument
5867 __le32 olinfo_status = cpu_to_le32(paylen << IXGBE_ADVTXD_PAYLEN_SHIFT); in ixgbe_tx_olinfo_status()
5913 unsigned int paylen = skb->len - hdr_len; in ixgbe_tx_map() local
5920 ixgbe_tx_olinfo_status(tx_desc, tx_flags, paylen); in ixgbe_tx_map()
/linux-3.4.99/drivers/net/ethernet/intel/igb/
Digb_main.c4233 u32 tx_flags, unsigned int paylen) in igb_tx_olinfo_status() argument
4235 u32 olinfo_status = paylen << E1000_ADVTXD_PAYLEN_SHIFT; in igb_tx_olinfo_status()
4272 unsigned int paylen = skb->len - hdr_len; in igb_tx_map() local
4279 igb_tx_olinfo_status(tx_ring, tx_desc, tx_flags, paylen); in igb_tx_map()
/linux-3.4.99/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c2996 int count, u32 paylen, u8 hdr_len) in ixgbevf_tx_queue() argument
3028 olinfo_status |= ((paylen - hdr_len) << IXGBE_ADVTXD_PAYLEN_SHIFT); in ixgbevf_tx_queue()