Lines Matching defs:so_rcv
118 win = sbspace(&tp->t_socket->so_rcv);
282 sbfree(&so->so_rcv);
498 * (TCP_MAXWIN << tp->request_r_scale) < so->so_rcv.sb_hiwat)
634 struct sbuf *so_rcv = &so->so_rcv;
636 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len);
637 so_rcv->sb_wptr += m->m_len;
638 so_rcv->sb_rptr += m->m_len;
641 if (sscanf(so_rcv->sb_data, "%u%*[ ,]%u", &n1, &n2) == 2) {
657 so_rcv->sb_cc = snprintf(so_rcv->sb_data,
658 so_rcv->sb_datalen,
660 so_rcv->sb_rptr = so_rcv->sb_data;
661 so_rcv->sb_wptr = so_rcv->sb_data + so_rcv->sb_cc;
680 struct sbuf *so_rcv = &so->so_rcv;
684 (m->m_len + so_rcv->sb_wptr) > (so_rcv->sb_data + so_rcv->sb_datalen)) {
694 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len);
695 so_rcv->sb_wptr += m->m_len;
696 so_rcv->sb_rptr += m->m_len;
704 ptr = so_rcv->sb_data;
707 while (ptr < so_rcv->sb_wptr) {
714 i2 = so_rcv->sb_wptr - ptr;
764 struct sbuf *so_rcv = &so->so_rcv;
768 (m->m_len + so_rcv->sb_wptr) > (so_rcv->sb_data + so_rcv->sb_datalen)) {
778 memcpy(so_rcv->sb_wptr, m->m_data, m->m_len);
779 so_rcv->sb_wptr += m->m_len;
780 so_rcv->sb_rptr += m->m_len;
788 ptr = so_rcv->sb_data;
829 * (TCP_MAXWIN << tp->request_r_scale) < so->so_rcv.sb_hiwat)
845 while (ptr < so_rcv->sb_wptr) {
875 struct sbuf *so_rcv = &so->so_rcv;
895 sbappendsb(so_rcv, m);
921 while (num < so->so_rcv.sb_cc) {
922 if (*(so->so_rcv.sb_rptr + num) == '\n' ||
923 *(so->so_rcv.sb_rptr + num) == '\r') {
926 *(so_rcv->sb_rptr + num) = 0;
929 if (sscanf(so_rcv->sb_rptr, "pass %256s", buff) == 1) {
942 n = do_config(so_rcv->sb_rptr, so, PRN_SPRINTF);
953 /* Drop so_rcv data */
954 so_rcv->sb_cc = 0;
955 so_rcv->sb_wptr = so_rcv->sb_rptr = so_rcv->sb_data;