Lines Matching refs:SCTP_BUF_NEXT

1967 		while (SCTP_BUF_NEXT(mret) != NULL) {  in sctp_add_addr_to_mbuf()
1968 mret = SCTP_BUF_NEXT(mret); in sctp_add_addr_to_mbuf()
1970 SCTP_BUF_NEXT(mret) = sctp_get_mbuf_for_msg(plen, 0, M_NOWAIT, 1, MT_DATA); in sctp_add_addr_to_mbuf()
1971 if (SCTP_BUF_NEXT(mret) == NULL) { in sctp_add_addr_to_mbuf()
1975 mret = SCTP_BUF_NEXT(mret); in sctp_add_addr_to_mbuf()
3858 for (m_at = mret; m_at; m_at = SCTP_BUF_NEXT(m_at)) { in sctp_add_cookie()
3860 if (SCTP_BUF_NEXT(m_at) == NULL) { in sctp_add_cookie()
3861 SCTP_BUF_NEXT(m_at) = copy_init; in sctp_add_cookie()
3865 for (m_at = copy_init; m_at; m_at = SCTP_BUF_NEXT(m_at)) { in sctp_add_cookie()
3867 if (SCTP_BUF_NEXT(m_at) == NULL) { in sctp_add_cookie()
3868 SCTP_BUF_NEXT(m_at) = copy_initack; in sctp_add_cookie()
3872 for (m_at = copy_initack; m_at; m_at = SCTP_BUF_NEXT(m_at)) { in sctp_add_cookie()
3874 if (SCTP_BUF_NEXT(m_at) == NULL) { in sctp_add_cookie()
3884 SCTP_BUF_NEXT(m_at) = sig; in sctp_add_cookie()
4043 SCTP_BUF_NEXT(newm) = m; in sctp_lowlevel_chunk_output()
4311 SCTP_BUF_NEXT(newm) = m; in sctp_lowlevel_chunk_output()
5130 SCTP_BUF_NEXT(op_err) = SCTP_M_COPYM(mat, at, plen, M_NOWAIT); in sctp_arethere_unrecognized_parameters()
5131 if (SCTP_BUF_NEXT(op_err) == NULL) { in sctp_arethere_unrecognized_parameters()
5194 SCTP_BUF_NEXT(m_tmp) = NULL; in sctp_arethere_unrecognized_parameters()
5195 SCTP_BUF_NEXT(op_err_last) = m_tmp; in sctp_arethere_unrecognized_parameters()
5202 SCTP_BUF_NEXT(op_err_last) = SCTP_M_COPYM(mat, at, plen, M_NOWAIT); in sctp_arethere_unrecognized_parameters()
5203 if (SCTP_BUF_NEXT(op_err_last) == NULL) { in sctp_arethere_unrecognized_parameters()
5209 while (SCTP_BUF_NEXT(op_err_last) != NULL) { in sctp_arethere_unrecognized_parameters()
5210 op_err_last = SCTP_BUF_NEXT(op_err_last); in sctp_arethere_unrecognized_parameters()
6109 for (m_tmp = op_err; m_tmp != NULL; m_tmp = SCTP_BUF_NEXT(m_tmp)) { in sctp_send_initiate_ack()
6113 SCTP_BUF_NEXT(m_last) = op_err; in sctp_send_initiate_ack()
6114 while (SCTP_BUF_NEXT(m_last) != NULL) { in sctp_send_initiate_ack()
6115 m_last = SCTP_BUF_NEXT(m_last); in sctp_send_initiate_ack()
6137 SCTP_BUF_NEXT(m_last) = m_cookie; in sctp_send_initiate_ack()
6139 for (m_tmp = m_cookie; m_tmp != NULL; m_tmp = SCTP_BUF_NEXT(m_tmp)) { in sctp_send_initiate_ack()
6141 if (SCTP_BUF_NEXT(m_tmp) == NULL) { in sctp_send_initiate_ack()
6468 for (at = m; at; at = SCTP_BUF_NEXT(at)) { in sctp_msg_append()
6469 if (SCTP_BUF_NEXT(at) == NULL) in sctp_msg_append()
6542 if (SCTP_BUF_NEXT(m) == NULL) { in sctp_copy_mbufchain()
6546 m = SCTP_BUF_NEXT(m); in sctp_copy_mbufchain()
6585 SCTP_BUF_NEXT((*endofchain)) = m; in sctp_copy_mbufchain()
6611 SCTP_BUF_NEXT(((*endofchain))) = appendchain; in sctp_copy_mbufchain()
6615 if (SCTP_BUF_NEXT(m) == NULL) { in sctp_copy_mbufchain()
6616 SCTP_BUF_NEXT(m) = appendchain; in sctp_copy_mbufchain()
6619 m = SCTP_BUF_NEXT(m); in sctp_copy_mbufchain()
6627 if (SCTP_BUF_NEXT(m) == NULL) { in sctp_copy_mbufchain()
6631 m = SCTP_BUF_NEXT(m); in sctp_copy_mbufchain()
6638 if (SCTP_BUF_NEXT(m) == NULL) { in sctp_copy_mbufchain()
6642 m = SCTP_BUF_NEXT(m); in sctp_copy_mbufchain()
6892 SCTP_BUF_NEXT_PKT(at) = SCTP_BUF_NEXT(at) = 0; in sctp_copy_out_all()
6895 SCTP_BUF_NEXT(at) = sctp_get_mbuf_for_msg((unsigned int)left, 0, M_WAITOK, 1, MT_DATA); in sctp_copy_out_all()
6896 if (SCTP_BUF_NEXT(at) == NULL) { in sctp_copy_out_all()
6899 at = SCTP_BUF_NEXT(at); in sctp_copy_out_all()
6921 for (mat = m; mat; mat = SCTP_BUF_NEXT(mat)) { in sctp_sendall()
7435 sp->data = SCTP_BUF_NEXT(m); in sctp_move_to_outqueue()
7436 SCTP_BUF_NEXT(m) = NULL; in sctp_move_to_outqueue()
7466 while (SCTP_BUF_NEXT(chk->last_mbuf) != NULL) { in sctp_move_to_outqueue()
7467 chk->last_mbuf = SCTP_BUF_NEXT(chk->last_mbuf); in sctp_move_to_outqueue()
7507 SCTP_BUF_NEXT(chk->last_mbuf) = m_tmp; in sctp_move_to_outqueue()
7518 SCTP_BUF_NEXT(m) = chk->data; in sctp_move_to_outqueue()
8971 for (mat = op_err; mat != NULL; mat = SCTP_BUF_NEXT(mat)) { in sctp_queue_op_err()
8973 if (SCTP_BUF_NEXT(mat) == NULL) { in sctp_queue_op_err()
10980 SCTP_BUF_NEXT(m_abort) = operr; in sctp_send_abort_tcb()
10983 for (m = operr; m; m = SCTP_BUF_NEXT(m)) { in sctp_send_abort_tcb()
10985 if (SCTP_BUF_NEXT(m) == NULL) { in sctp_send_abort_tcb()
10998 SCTP_BUF_NEXT(m_end) = m_abort; in sctp_send_abort_tcb()
11132 for (m_at = cause; m_at; m_at = SCTP_BUF_NEXT(m_at)) { in sctp_send_resp_msg()
11133 if (SCTP_BUF_NEXT(m_at) == NULL) in sctp_send_resp_msg()
11180 SCTP_BUF_NEXT(mout) = cause; in sctp_send_resp_msg()
12899 for (cntm = top; cntm; cntm = SCTP_BUF_NEXT(cntm)) { in sctp_lower_sosend()
12958 SCTP_BUF_NEXT(mm) = top; in sctp_lower_sosend()
13333 SCTP_BUF_NEXT(sp->tail_mbuf) = mm; in sctp_lower_sosend()
13831 for (cn = m; cn; cn = SCTP_BUF_NEXT(cn)) { in sctp_add_auth_chunk()