Lines Matching defs:paylen
71 __u8 type, __u8 flags, int paylen);
116 size_t paylen)
123 len = sizeof(sctp_errhdr_t) + paylen;
134 size_t paylen)
141 len = sizeof(sctp_errhdr_t) + paylen;
949 size_t paylen)
955 retval = sctp_make_abort(asoc, NULL, sizeof(sctp_errhdr_t) + paylen);
959 if (paylen) {
961 payload = kmalloc(paylen, GFP_KERNEL);
965 err = memcpy_fromiovec(payload, msg->msg_iov, paylen);
970 sctp_init_cause(retval, SCTP_ERROR_USER_ABORT, paylen);
971 sctp_addto_chunk(retval, paylen, payload);
973 if (paylen)
1015 const size_t paylen)
1020 retval = sctp_make_abort(asoc, chunk, sizeof(sctp_errhdr_t) + paylen
1025 sctp_init_cause(retval, SCTP_ERROR_PROTO_VIOLATION, paylen
1030 sctp_addto_chunk(retval, paylen, payload);
1063 const void *payload, const size_t paylen)
1066 0, paylen);
1075 retval->subh.hbs_hdr = sctp_addto_chunk(retval, paylen, payload);
1083 const void *payload, const size_t paylen)
1087 retval = sctp_make_chunk(asoc, SCTP_CID_HEARTBEAT_ACK, 0, paylen);
1091 retval->subh.hbs_hdr = sctp_addto_chunk(retval, paylen, payload);
1161 size_t paylen, size_t reserve_tail)
1165 retval = sctp_make_op_error_space(asoc, chunk, paylen + reserve_tail);
1169 sctp_init_cause(retval, cause_code, paylen + reserve_tail);
1170 sctp_addto_chunk(retval, paylen, payload);
1290 * arguments, reserving enough space for a 'paylen' byte payload.
1294 __u8 type, __u8 flags, int paylen)
1302 skb = alloc_skb(WORD_ROUND(sizeof(sctp_chunkhdr_t) + paylen),