Searched refs:slc (Results 1 – 3 of 3) sorted by relevance
148 sctp_listen_cnt_t *slc = sctp->sctp_listen_cnt; in sctp_conn_request() local168 if (slc != NULL) { in sctp_conn_request()171 if (atomic_inc_32_nv(&slc->slc_cnt) > slc->slc_max + 1) { in sctp_conn_request()173 atomic_dec_32(&slc->slc_cnt); in sctp_conn_request()175 slc->slc_drop++; in sctp_conn_request()176 if (now - slc->slc_report_time > in sctp_conn_request()182 slc->slc_max, slc->slc_drop); in sctp_conn_request()183 slc->slc_report_time = now; in sctp_conn_request()192 atomic_dec_32(&slc->slc_cnt); in sctp_conn_request()
176 sctp_listen_cnt_t *slc; in sctp_listen() local184 slc = kmem_alloc(sizeof (sctp_listen_cnt_t), KM_SLEEP); in sctp_listen()197 slc->slc_max = maxusers / ratio * mem_ratio; in sctp_listen()200 slc->slc_max = maxusers / ratio / mem_ratio; in sctp_listen()203 if (slc->slc_max < sctp_min_assoc_listener) in sctp_listen()204 slc->slc_max = sctp_min_assoc_listener; in sctp_listen()205 slc->slc_cnt = 1; in sctp_listen()206 slc->slc_drop = 0; in sctp_listen()207 sctp->sctp_listen_cnt = slc; in sctp_listen()
196 static void slc(unsigned char *, int);904 slc(subpointer, SB_LEN()); in suboption()1338 slc(cp, len) in slc() function