The VINT Project

This document (ns Notes and Documentation) provides reference documentation for ns. Although we begin with a simple simulation script, resources like Marc Greis’s tutorial web pages (originally at his web site, now at . edu/nsnam/ns/tutorial/) or the slides from one of the ns tutorials are problably better places to begin for the ns novice. | The ns Manual formerly ns Notes and Documentation 1 The VINT Project A Collaboration between researchers at UC Berkeley LBL USC ISI and Xerox PARC. Kevin Fall kfall@ Editor Kannan Varadhan kannan@ Editor April 15 2006 ns @ is LBNL s Network Simulator 24 . The simulator is written in C it uses OTcl as a command and configuration interface. ns v2 has three substantial changes from ns v1 1 the more complex objects in ns v1 have been decomposed into simpler components for greater flexibility and composability 2 the configuration interface is now OTcl an object oriented version of Tcl and 3 the interface code to the OTcl interpreter is separate from the main simulator. Ns documentation is available in html Postscript and PDF formats. See http nsnam ns ns-documentation. html for pointers to these. 1 The VINT project is a joint effort by people from UC Berkeley USC ISI LBL and Xerox PARC. The project is supported by the Defense Advanced Research Projects Agency DARPA at LBL under DARPA grant DABT63-96-C-0105 at USC ISI under DARPA grant ABT63-96-C-0054 at Xerox PARC under DARPA grant DABT63-96-C-0105. Any opinions ndings and conclusions or recommendations expressed in this material are those of the author s and do not necessarily reflect the views of the DARPA. Contents 1 Introduction 2 2 Undocumented Facilities 6 I Interface to the Interpreter 8 3 OTcl Linkage 9 Concept Overview . 9 Code Overview. 10 Class Tcl . 10 Obtain a Reference to the class Tcl instance. 11 Invoking OTcl Procedures. 11 Passing Results to from the Interpreter. 11 Error Reporting and Exit. 12 Hash Functions within the Interpreter. 12 Other Operations on the Interpreter. 13 Class TclObject. 13 Creating and Destroying TclObjects. 14 Variable Bindings. 15 Variable Tracing. 17 commandMethods Definition and Invocation . 18 Class TclClass . 20 How to Bind Static C Class Member .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
24    19    1    28-11-2024
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.