Lines Matching refs:tcr

523 	struct T_conn_req	*tcr;  in tcp_tpi_connect()  local
546 tcr = (struct T_conn_req *)mp->b_rptr; in tcp_tpi_connect()
549 if ((mp->b_wptr - mp->b_rptr) < sizeof (*tcr)) { in tcp_tpi_connect()
574 switch (tcr->DEST_length) { in tcp_tpi_connect()
597 tcr->OPT_length, BPRI_HI); in tcp_tpi_connect()
611 sin = (sin_t *)mi_offset_param(mp, tcr->DEST_offset, in tcp_tpi_connect()
612 tcr->DEST_length); /* extract DEST_length worth of sin_t */ in tcp_tpi_connect()
623 if (tcr->OPT_length != 0) { in tcp_tpi_connect()
624 ntcr->OPT_length = tcr->OPT_length; in tcp_tpi_connect()
626 bcopy((uchar_t *)tcr + tcr->OPT_offset, in tcp_tpi_connect()
628 tcr->OPT_length); in tcp_tpi_connect()
629 nmp->b_wptr += tcr->OPT_length; in tcp_tpi_connect()
633 tcr = ntcr; in tcp_tpi_connect()
638 sa = (struct sockaddr *)mi_offset_param(mp, tcr->DEST_offset, in tcp_tpi_connect()
644 sa = (struct sockaddr *)mi_offset_param(mp, tcr->DEST_offset, in tcp_tpi_connect()
664 if (tcr->OPT_length != 0) { in tcp_tpi_connect()
705 if (tcr->OPT_length != 0) { /* there are resulting options */ in tcp_tpi_connect()
1302 struct T_conn_res *tcr; in tcp_tli_accept() local
1311 if ((mp->b_wptr - mp->b_rptr) < sizeof (*tcr)) { in tcp_tli_accept()
1315 tcr = (struct T_conn_res *)mp->b_rptr; in tcp_tli_accept()
1341 acceptor_id = tcr->ACCEPTOR_id; in tcp_tli_accept()
1347 (eager->tcp_conn_req_seqnum != tcr->SEQ_number)) { in tcp_tli_accept()
1421 seqnum = tcr->SEQ_number; in tcp_tli_accept()
1477 tcr = (struct T_conn_res *)mp1->b_rptr; in tcp_tli_accept()
1583 if (tcr->OPT_length != 0) { in tcp_tli_accept()