Home
last modified time | relevance | path

Searched refs:recvmbuf (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/usrsctp/usrsctplib/
Duser_recv_thread.c277 struct mbuf **recvmbuf; in recv_function_raw() local
310 recvmbuf = malloc(sizeof(struct mbuf *) * MAXLEN_MBUF_CHAIN); in recv_function_raw()
318 recvmbuf[i] = sctp_get_mbuf_for_msg(iovlen, want_header, M_NOWAIT, want_ext, MT_DATA); in recv_function_raw()
320 recv_iovec[i].iov_base = (caddr_t)recvmbuf[i]->m_data; in recv_function_raw()
323 recv_iovec[i].buf = (caddr_t)recvmbuf[i]->m_data; in recv_function_raw()
362 SCTP_HEADER_LEN(recvmbuf[0]) = n; /* length of total packet */ in recv_function_raw()
367 SCTP_BUF_LEN(recvmbuf[0]) = n; in recv_function_raw()
371 SCTP_BUF_LEN(recvmbuf[0]) = iovlen; in recv_function_raw()
376 recvmbuf[i]->m_next = recvmbuf[i+1]; in recv_function_raw()
377 SCTP_BUF_LEN(recvmbuf[i]->m_next) = min(ncounter, iovlen); in recv_function_raw()
[all …]