Lines Matching defs:length
143 /* Trim the buffer to the right length. */
145 ntohs(chunk->chunk_hdr->length) -
186 * This field is the total length of the notification data, including
272 * This field is the total length of the notification data, including
387 elen = SCTP_PAD4(ntohs(ch->length)) - sizeof(*ch);
408 /* Trim the buffer to the right length. */
439 int len = ntohs(chunk->chunk_hdr->length);
486 * This field is the total length of the notification data, including
546 len = ntohs(chunk->chunk_hdr->length);
613 * This field is the total length of the notification data, including
695 datalen = ntohs(chunk->chunk_hdr->length);
714 * pass up the wrong length to the user.
718 * The total length of a chunk(including Type, Length and Value fields)
719 * MUST be a multiple of 4 bytes. If the length of the chunk is not a
721 * bytes and this padding is not included in the chunk length field.
733 /* Initialize event with flags 0 and correct length
801 * This field is the total length of the notification data, including
895 int length, i;
897 length = sizeof(struct sctp_stream_reset_event) + 2 * stream_num;
898 event = sctp_ulpevent_new(length, MSG_NOTIFICATION, gfp);
903 sreset = skb_put(skb, length);
907 sreset->strreset_length = length;