ndt-dev - [ndt-dev] [ndt] r695 committed - Extended descriptions of all subsystems.
Subject: NDT-DEV email list created
List archive
- From:
- To:
- Subject: [ndt-dev] [ndt] r695 committed - Extended descriptions of all subsystems.
- Date: Thu, 06 Oct 2011 10:15:48 +0000
Revision: 695
Author:
Date: Thu Oct 6 03:15:13 2011
Log: Extended descriptions of all subsystems.
http://code.google.com/p/ndt/source/detail?r=695
Modified:
/wiki/NDTArchitecture.wiki
=======================================
--- /wiki/NDTArchitecture.wiki Thu Oct 6 03:05:48 2011
+++ /wiki/NDTArchitecture.wiki Thu Oct 6 03:15:13 2011
@@ -71,16 +71,16 @@
|| admin page || web100srv || Functions needed to handle the Admin page, which allows a remote user to view the usage statistics via a web page. || {{{void }}}*view_init*{{{(int refresh)}}}<br/>{{{int }}}*calculate*{{{(char now[32], int SumRTT, int CountRTT, int CongestionSignals, int PktsOut, int DupAcksIn, int AckPktsIn, int CurrentMSS, int SndLimTimeRwin, int SndLimTimeCwnd, int SndLimTimeSender, int MaxRwinRcvd, int CurrentCwnd, int Sndbuf, int DataBytesOut, int mismatch, int bad_cable, int c2sspd, int s2cspd, int c2sdata, int s2cack, int view_flag)}}}<br/>{{{void }}}*gen_html*{{{(int c2sspd, int s2cspd, int MinRTT, int PktsRetrans, int Timeouts, int Sndbuf, int MaxRwinRcvd, int CurrentCwnd, int mismatch, int bad_cable, int totalcnt, int refresh)}}} || {{{web100-admin.c web100-admin.h}}} ||
|| mrange || web100srv || Functions to handle port number ranges. This means that the numbers generated by these methods are always between 1 and 65535 inclusive. || {{{int }}}*mrange_parse*{{{(char* text)}}}<br/>{{{char* }}}*mrange_next*{{{(char* port)}}} || {{{mrange.c mrange.h}}} ||
|| || || || || ||
-|| SFW Test (C) || web100clt || The client part of the Simple Firewall Test || {{{test_sfw_clt(int ctlsockfd, char tests, char* host, int conn_options)}}} || {{{test_sfw_clt.c test_sfw.h}}} ||
-|| SFW Test (S) || web100srv || The server part of the Simple Firewall Test || {{{test_sfw_srv(int ctlsockfd, web100_agent* agent, TestOptions* options, int conn_options)}}} || {{{test_sfw_srv.c test_sfw.h testoptions.h}}} ||
-|| MID Test (C) || web100clt || The client part of the Middlebox Test || {{{test_mid_clt(int ctlSocket, char tests, char* host, int conn_options, int buf_size, char* tmpstr2)}}} || {{{test_mid_clt.c clt_tests.h}}} ||
-|| MID Test (S) || web100srv || The server part of the Middlebox Test || {{{test_mid(int ctlsockfd, web100_agent* agent, TestOptions* options, int conn_options, double* s2c2spd)}}} || {{{testoptions.c testoptions.h}}} ||
-|| C2S Test (C) || web100clt || The client part of the Client-To-Server Throughput Test || {{{test_c2s_clt(int ctlSocket, char tests, char* host, int conn_options, int buf_size)}}} || {{{test_c2s_clt.c clt_tests.h}}} ||
-|| C2S Test (S) || web100srv || The server part of the Client-To-Server Throughput Test || {{{test_c2s(int ctlsockfd, web100_agent* agent, TestOptions* testOptions, int conn_options, double* c2sspd, int set_buff, int window, int autotune, char* device, Options* options, int record_reverse, int count_vars, char spds[4][256], int* spd_index)}}} || {{{testoptions.c testoptions.h}}} ||
-|| S2C Test (C) || web100clt || The client part of the Server-To-Client Throughput Test || {{{test_s2c_clt(int ctlSocket, char tests, char* host, int conn_options, int buf_size, char* tmpstr)}}} || {{{test_s2c_clt.c clt_tests.h}}} ||
-|| S2C Test (S) || web100srv || The server part of the Server-To-Client Throughput Test || {{{test_s2c(int ctlsockfd, web100_agent* agent, TestOptions* testOptions, int conn_options, double* s2cspd, int set_buff, int window, int autotune, char* device, Options* options, char spds[4][256], int* spd_index, int count_vars, CwndPeaks* peaks)}}} || {{{testoptions.c testoptions.h}}} ||
-|| META Test (C) || web100clt || The client part of the META Test || {{{test_meta_clt(int ctlSocket, char tests, char* host, int conn_options)}}} || {{{test_meta_clt.c test_meta.h}}} ||
-|| META Test (S) || web100srv || The server part of the META Test || {{{test_meta_srv(int ctlsockfd, web100_agent* agent, TestOptions* testOptions, int conn_options)}}} || {{{test_meta_srv.c test_meta.h testoptions.h}}} ||
+|| SFW Test (C) || web100clt || The client part of the Simple Firewall Test || {{{int }}}*test_sfw_clt*{{{(int ctlsockfd, char tests, char* host, int conn_options)}}}<br/>{{{int }}}*results_sfw*{{{(char tests, char* host)}}} || {{{test_sfw_clt.c test_sfw.h}}} ||
+|| SFW Test (S) || web100srv || The server part of the Simple Firewall Test || {{{int }}}*test_sfw_srv*{{{(int ctlsockfd, web100_agent* agent, TestOptions* options, int conn_options)}}} || {{{test_sfw_srv.c test_sfw.h testoptions.h}}} ||
+|| MID Test (C) || web100clt || The client part of the Middlebox Test || {{{int }}}*test_mid_clt*{{{(int ctlSocket, char tests, char* host, int conn_options, int buf_size, char* tmpstr2)}}} || {{{test_mid_clt.c clt_tests.h}}} ||
+|| MID Test (S) || web100srv || The server part of the Middlebox Test || {{{int }}}*test_mid*{{{(int ctlsockfd, web100_agent* agent, TestOptions* options, int conn_options, double* s2c2spd)}}} || {{{testoptions.c testoptions.h}}} ||
+|| C2S Test (C) || web100clt || The client part of the Client-To-Server Throughput Test || {{{int }}}*test_c2s_clt*{{{(int ctlSocket, char tests, char* host, int conn_options, int buf_size)}}} || {{{test_c2s_clt.c clt_tests.h}}} ||
+|| C2S Test (S) || web100srv || The server part of the Client-To-Server Throughput Test || {{{int }}}*test_c2s*{{{(int ctlsockfd, web100_agent* agent, TestOptions* testOptions, int conn_options, double* c2sspd, int set_buff, int window, int autotune, char* device, Options* options, int record_reverse, int count_vars, char spds[4][256], int* spd_index)}}} || {{{testoptions.c testoptions.h}}} ||
+|| S2C Test (C) || web100clt || The client part of the Server-To-Client Throughput Test || {{{int }}}*test_s2c_clt*{{{(int ctlSocket, char tests, char* host, int conn_options, int buf_size, char* tmpstr)}}} || {{{test_s2c_clt.c clt_tests.h}}} ||
+|| S2C Test (S) || web100srv || The server part of the Server-To-Client Throughput Test || {{{int }}}*test_s2c*{{{(int ctlsockfd, web100_agent* agent, TestOptions* testOptions, int conn_options, double* s2cspd, int set_buff, int window, int autotune, char* device, Options* options, char spds[4][256], int* spd_index, int count_vars, CwndPeaks* peaks)}}} || {{{testoptions.c testoptions.h}}} ||
+|| META Test (C) || web100clt || The client part of the META Test || {{{int }}}*test_meta_clt*{{{(int ctlSocket, char tests, char* host, int conn_options)}}} || {{{test_meta_clt.c test_meta.h}}} ||
+|| META Test (S) || web100srv || The server part of the META Test || {{{int }}}*test_meta_srv*{{{(int ctlsockfd, web100_agent* agent, TestOptions* testOptions, int conn_options)}}} || {{{test_meta_srv.c test_meta.h testoptions.h}}} ||
==== NDT Server subsystems ====
@@ -99,11 +99,11 @@
The NDT Java Applet-based client (Tcpbw100.jar) has the same functionality as the command line client (web100clt), but all its code is located in a single Tcpbw100.java file. The concise implementation allow us to only distinguish the following subsystems related to particular tests:
|| *Subsystem* || *Method* ||
-|| SFW Test (C) || {{{test_sfw(Protocol ctl)}}} ||
-|| MID Test (C) || {{{test_mid(Protocol ctl)}}} ||
-|| C2S Test (C) || {{{test_c2s(Protocol ctl)}}} ||
-|| S2C Test (C) || {{{test_s2c(Protocol ctl, Socket ctlSocket)}}} ||
-|| META Test (C) || {{{test_meta(Protocol ctl) }}} ||
+|| SFW Test (C) || {{{boolean }}}*test_sfw*{{{(Protocol ctl)}}} ||
+|| MID Test (C) || {{{boolean }}}*test_mid*{{{(Protocol ctl)}}} ||
+|| C2S Test (C) || {{{boolean }}}*test_c2s*{{{(Protocol ctl)}}} ||
+|| S2C Test (C) || {{{boolean }}}*test_s2c*{{{(Protocol ctl, Socket ctlSocket)}}} ||
+|| META Test (C) || {{{boolean }}}*test_meta*{{{(Protocol ctl) }}} ||
This simple architecture can be seen on the following diagram:
- [ndt-dev] [ndt] r695 committed - Extended descriptions of all subsystems., ndt, 10/06/2011
Archive powered by MHonArc 2.6.16.