Lines Matching refs:SCTP_BUF_NEXT
2010 while (SCTP_BUF_NEXT(mret) != NULL) { in sctp_add_addr_to_mbuf()
2011 mret = SCTP_BUF_NEXT(mret); in sctp_add_addr_to_mbuf()
2013 SCTP_BUF_NEXT(mret) = sctp_get_mbuf_for_msg(plen, 0, M_NOWAIT, 1, MT_DATA); in sctp_add_addr_to_mbuf()
2014 if (SCTP_BUF_NEXT(mret) == NULL) { in sctp_add_addr_to_mbuf()
2018 mret = SCTP_BUF_NEXT(mret); in sctp_add_addr_to_mbuf()
4004 for (m_at = mret; m_at; m_at = SCTP_BUF_NEXT(m_at)) {
4006 if (SCTP_BUF_NEXT(m_at) == NULL) {
4007 SCTP_BUF_NEXT(m_at) = copy_init;
4011 for (m_at = copy_init; m_at; m_at = SCTP_BUF_NEXT(m_at)) {
4013 if (SCTP_BUF_NEXT(m_at) == NULL) {
4014 SCTP_BUF_NEXT(m_at) = copy_initack;
4018 for (m_at = copy_initack; m_at; m_at = SCTP_BUF_NEXT(m_at)) {
4020 if (SCTP_BUF_NEXT(m_at) == NULL) {
4031 SCTP_BUF_NEXT(m_at) = sig;
4215 SCTP_BUF_NEXT(newm) = m;
4603 SCTP_BUF_NEXT(newm) = m;
5072 SCTP_BUF_NEXT(newm) = m;
5605 SCTP_BUF_NEXT(op_err) = SCTP_M_COPYM(mat, at, plen, M_NOWAIT);
5606 if (SCTP_BUF_NEXT(op_err) == NULL) {
5669 SCTP_BUF_NEXT(m_tmp) = NULL;
5670 SCTP_BUF_NEXT(op_err_last) = m_tmp;
5677 SCTP_BUF_NEXT(op_err_last) = SCTP_M_COPYM(mat, at, plen, M_NOWAIT);
5678 if (SCTP_BUF_NEXT(op_err_last) == NULL) {
5684 while (SCTP_BUF_NEXT(op_err_last) != NULL) {
5685 op_err_last = SCTP_BUF_NEXT(op_err_last);
6631 for (m_tmp = op_err; m_tmp != NULL; m_tmp = SCTP_BUF_NEXT(m_tmp)) {
6635 SCTP_BUF_NEXT(m_last) = op_err;
6636 while (SCTP_BUF_NEXT(m_last) != NULL) {
6637 m_last = SCTP_BUF_NEXT(m_last);
6659 SCTP_BUF_NEXT(m_last) = m_cookie;
6661 for (m_tmp = m_cookie; m_tmp != NULL; m_tmp = SCTP_BUF_NEXT(m_tmp)) {
6663 if (SCTP_BUF_NEXT(m_tmp) == NULL) {
6975 for (at = m; at; at = SCTP_BUF_NEXT(at)) {
6976 if (SCTP_BUF_NEXT(at) == NULL)
7057 if (SCTP_BUF_NEXT(m) == NULL) {
7061 m = SCTP_BUF_NEXT(m);
7097 SCTP_BUF_NEXT((*endofchain)) = m;
7123 SCTP_BUF_NEXT(((*endofchain))) = appendchain;
7127 if (SCTP_BUF_NEXT(m) == NULL) {
7128 SCTP_BUF_NEXT(m) = appendchain;
7131 m = SCTP_BUF_NEXT(m);
7140 if (SCTP_BUF_NEXT(m) == NULL) {
7144 m = SCTP_BUF_NEXT(m);
7151 if (SCTP_BUF_NEXT(m) == NULL) {
7155 m = SCTP_BUF_NEXT(m);
7401 SCTP_BUF_NEXT_PKT(at) = SCTP_BUF_NEXT(at) = 0;
7404 SCTP_BUF_NEXT(at) = sctp_get_mbuf_for_msg((unsigned int)left, 0, M_WAITOK, 1, MT_DATA);
7405 if (SCTP_BUF_NEXT(at) == NULL) {
7408 at = SCTP_BUF_NEXT(at);
7486 for (mat = m; mat; mat = SCTP_BUF_NEXT(mat)) {
8002 sp->data = SCTP_BUF_NEXT(m);
8003 SCTP_BUF_NEXT(m) = NULL;
8033 while (SCTP_BUF_NEXT(chk->last_mbuf) != NULL) {
8034 chk->last_mbuf = SCTP_BUF_NEXT(chk->last_mbuf);
8077 SCTP_BUF_NEXT(chk->last_mbuf) = m_tmp;
8088 SCTP_BUF_NEXT(m) = chk->data;
9542 for (mat = op_err; mat != NULL; mat = SCTP_BUF_NEXT(mat)) {
9544 if (SCTP_BUF_NEXT(mat) == NULL) {
11583 SCTP_BUF_NEXT(m_abort) = operr;
11586 for (m = operr; m; m = SCTP_BUF_NEXT(m)) {
11588 if (SCTP_BUF_NEXT(m) == NULL) {
11601 SCTP_BUF_NEXT(m_end) = m_abort;
11743 for (m_at = cause; m_at; m_at = SCTP_BUF_NEXT(m_at)) {
11744 if (SCTP_BUF_NEXT(m_at) == NULL)
11807 SCTP_BUF_NEXT(mout) = cause;
13243 SCTP_BUF_NEXT(m) = sctp_get_mbuf_for_msg(left, 0, M_WAITOK, 0, MT_DATA);
13244 if (SCTP_BUF_NEXT(m) == NULL) {
13251 m = SCTP_BUF_NEXT(m);
13267 SCTP_BUF_NEXT(m) = NULL;
13330 SCTP_BUF_NEXT(m) = sctp_get_mbuf_for_msg(left, 0, M_WAITOK, 0, MT_DATA);
13331 if (SCTP_BUF_NEXT(m) == NULL) {
13340 m = SCTP_BUF_NEXT(m);
13345 SCTP_BUF_NEXT(m) = NULL;
14119 for (cntm = top; cntm; cntm = SCTP_BUF_NEXT(cntm)) {
14173 SCTP_BUF_NEXT(mm) = top;
14456 SCTP_BUF_NEXT(sp->tail_mbuf) = mm;
15055 for (cn = m; cn; cn = SCTP_BUF_NEXT(cn)) {