Lines Matching refs:conn_xdrs

151 	connection->conn_xdrs.x_ops = 0;  in ndmp_create_connection()
153 xdrrec_create(&connection->conn_xdrs, 0, 0, (caddr_t)connection, in ndmp_create_connection()
156 if (connection->conn_xdrs.x_ops == 0) { in ndmp_create_connection()
187 xdr_destroy(&connection->conn_xdrs); in ndmp_destroy_connection()
438 connection->conn_xdrs.x_op = XDR_ENCODE; in ndmp_send_request()
439 if (!xdr_ndmp_header(&connection->conn_xdrs, &header)) { in ndmp_send_request()
442 (void) xdrrec_endofrecord(&connection->conn_xdrs, 1); in ndmp_send_request()
446 if (!(*handler->mh_xdr_request)(&connection->conn_xdrs, in ndmp_send_request()
451 (void) xdrrec_endofrecord(&connection->conn_xdrs, 1); in ndmp_send_request()
455 (void) xdrrec_endofrecord(&connection->conn_xdrs, 1); in ndmp_send_request()
572 connection->conn_xdrs.x_op = XDR_ENCODE; in ndmp_send_response()
573 if (!xdr_ndmp_header(&connection->conn_xdrs, &header)) { in ndmp_send_response()
577 (void) xdrrec_endofrecord(&connection->conn_xdrs, 1); in ndmp_send_response()
584 &connection->conn_xdrs, reply)) { in ndmp_send_response()
588 (void) xdrrec_endofrecord(&connection->conn_xdrs, 1); in ndmp_send_response()
592 (void) xdrrec_endofrecord(&connection->conn_xdrs, 1); in ndmp_send_response()
617 connection->conn_xdrs.x_op = XDR_FREE; in ndmp_free_message()
622 &connection->conn_xdrs, in ndmp_free_message()
627 &connection->conn_xdrs, in ndmp_free_message()
1028 connection->conn_xdrs.x_op = XDR_DECODE; in ndmp_recv_msg()
1029 (void) xdrrec_skiprecord(&connection->conn_xdrs); in ndmp_recv_msg()
1030 if (!xdr_ndmp_header(&connection->conn_xdrs, in ndmp_recv_msg()
1103 if (!(*xdr_func)(&connection->conn_xdrs, in ndmp_recv_msg()
1277 } while (xdrrec_eof(&connection->conn_xdrs) == FALSE && in ndmp_process_messages()