SCTP_ALL_ASSOC
ret = idr_alloc_cyclic(&sctp_assocs_id, asoc, SCTP_ALL_ASSOC + 1, 0,
if (id <= SCTP_ALL_ASSOC)
if (!asoc && params->sack_assoc_id > SCTP_ALL_ASSOC &&
params->sack_assoc_id == SCTP_ALL_ASSOC) {
params->sack_assoc_id == SCTP_ALL_ASSOC)
if (!asoc && info->sinfo_assoc_id > SCTP_ALL_ASSOC &&
info->sinfo_assoc_id == SCTP_ALL_ASSOC) {
info->sinfo_assoc_id == SCTP_ALL_ASSOC) {
if (!asoc && info->snd_assoc_id > SCTP_ALL_ASSOC &&
info->snd_assoc_id == SCTP_ALL_ASSOC) {
info->snd_assoc_id == SCTP_ALL_ASSOC) {
if (!asoc && params->assoc_id > SCTP_ALL_ASSOC &&
params->assoc_id == SCTP_ALL_ASSOC)
params->assoc_id == SCTP_ALL_ASSOC)
if (!asoc && assoc_id > SCTP_ALL_ASSOC && sctp_style(sk, UDP))
if (assoc_id == SCTP_FUTURE_ASSOC || assoc_id == SCTP_ALL_ASSOC)
if (assoc_id == SCTP_CURRENT_ASSOC || assoc_id == SCTP_ALL_ASSOC)
if (!asoc && authkey->sca_assoc_id > SCTP_ALL_ASSOC &&
authkey->sca_assoc_id == SCTP_ALL_ASSOC) {
authkey->sca_assoc_id == SCTP_ALL_ASSOC) {
if (!asoc && val->scact_assoc_id > SCTP_ALL_ASSOC &&
val->scact_assoc_id == SCTP_ALL_ASSOC) {
val->scact_assoc_id == SCTP_ALL_ASSOC) {
if (!asoc && val->scact_assoc_id > SCTP_ALL_ASSOC &&
val->scact_assoc_id == SCTP_ALL_ASSOC) {
val->scact_assoc_id == SCTP_ALL_ASSOC) {
if (!asoc && val->scact_assoc_id > SCTP_ALL_ASSOC &&
val->scact_assoc_id == SCTP_ALL_ASSOC) {
val->scact_assoc_id == SCTP_ALL_ASSOC) {
if (!asoc && info->pr_assoc_id > SCTP_ALL_ASSOC &&
info->pr_assoc_id == SCTP_ALL_ASSOC) {
info->pr_assoc_id == SCTP_ALL_ASSOC) {
if (!asoc && params->assoc_id > SCTP_ALL_ASSOC &&
params->assoc_id == SCTP_ALL_ASSOC)
params->assoc_id == SCTP_ALL_ASSOC)
if (!asoc && params->assoc_id > SCTP_ALL_ASSOC &&
params->assoc_id == SCTP_ALL_ASSOC)
params->assoc_id == SCTP_ALL_ASSOC) {
if (!asoc && param->se_assoc_id > SCTP_ALL_ASSOC &&
param->se_assoc_id == SCTP_ALL_ASSOC)
param->se_assoc_id == SCTP_ALL_ASSOC) {