Lines Matching refs:num_ext
5131 uint16_t num_ext, chunk_len, padding_len, parameter_len; local
5236 num_ext = 0;
5239 pr_supported->chunk_types[num_ext++] = SCTP_FORWARD_CUM_TSN;
5241 pr_supported->chunk_types[num_ext++] = SCTP_IFORWARD_CUM_TSN;
5245 pr_supported->chunk_types[num_ext++] = SCTP_AUTHENTICATION;
5248 pr_supported->chunk_types[num_ext++] = SCTP_ASCONF;
5249 pr_supported->chunk_types[num_ext++] = SCTP_ASCONF_ACK;
5252 pr_supported->chunk_types[num_ext++] = SCTP_STREAM_RESET;
5255 pr_supported->chunk_types[num_ext++] = SCTP_IDATA;
5258 pr_supported->chunk_types[num_ext++] = SCTP_NR_SELECTIVE_ACK;
5261 pr_supported->chunk_types[num_ext++] = SCTP_PACKET_DROPPED;
5263 if (num_ext > 0) {
5264 parameter_len = (uint16_t)sizeof(struct sctp_supported_chunk_types_param) + num_ext;
6012 uint16_t num_ext, chunk_len, padding_len, parameter_len; local
6504 num_ext = 0;
6508 pr_supported->chunk_types[num_ext++] = SCTP_FORWARD_CUM_TSN;
6511 pr_supported->chunk_types[num_ext++] = SCTP_IFORWARD_CUM_TSN;
6516 pr_supported->chunk_types[num_ext++] = SCTP_AUTHENTICATION;
6520 pr_supported->chunk_types[num_ext++] = SCTP_ASCONF;
6521 pr_supported->chunk_types[num_ext++] = SCTP_ASCONF_ACK;
6525 pr_supported->chunk_types[num_ext++] = SCTP_STREAM_RESET;
6529 pr_supported->chunk_types[num_ext++] = SCTP_IDATA;
6533 pr_supported->chunk_types[num_ext++] = SCTP_NR_SELECTIVE_ACK;
6537 pr_supported->chunk_types[num_ext++] = SCTP_PACKET_DROPPED;
6539 if (num_ext > 0) {
6540 parameter_len = (uint16_t)sizeof(struct sctp_supported_chunk_types_param) + num_ext;