ns-3-ptp-master
所属分类:其他
开发工具:Visual C++
文件大小:640KB
下载次数:3
上传日期:2019-12-09 16:56:26
上 传 者:
ZYCF
说明: 在通信网络中,许多业务的正常运行都要求网络时钟同步,在NS2上实现PTP协议
(In the communication network, the normal operation of many services requires network clock synchronization. The PTP protocol is implemented on NS2.)
文件列表:
CptS_555_ProjectPresentation.pdf (688599, 2019-05-07)
LICENSE (1512, 2019-05-07)
doc (0, 2019-05-07)
doc\ns-3-installation.md (3489, 2019-05-07)
doc\ptp.rst (2422, 2019-05-07)
examples (0, 2019-05-07)
examples\csma_test.cc (11630, 2019-05-07)
examples\wifi_adhoc_test.cc (10778, 2019-05-07)
examples\wscript (364, 2019-05-07)
helper (0, 2019-05-07)
helper\ptp-helper.cc (124, 2019-05-07)
helper\ptp-helper.h (167, 2019-05-07)
model (0, 2019-05-07)
model\ptp-message.h (1702, 2019-05-07)
model\ptp-network.cc (18298, 2019-05-07)
model\ptp-network.h (6245, 2019-05-07)
model\ptp-node.cc (7630, 2019-05-07)
model\ptp-node.h (8061, 2019-05-07)
model\ptp-socket-link.cc (2116, 2019-05-07)
model\ptp-socket-link.h (1874, 2019-05-07)
test (0, 2019-05-07)
test\ptp-test-suite.cc (1787, 2019-05-07)
wscript (935, 2019-05-07)
# ns-3-ptp
IEEE 1588 Precision Time Protocol Simulation
This package implements the IEEE 1588 PTP protocol as part of the project required in WSU CptS 555.
To run the code, browse to `ns-3-dev/src` and clone the repository into `ptp` folder.
```bash
ns-3-dev/src $ git clone https://github.com/TinghuiWang/ns-3-ptp.git ptp
```
The package contains two examples that evaluates the performance of PTP in a wired ethernet network (802.3) and a Wifi AdHoc network (802.11b OFDM 2.4GHz).
To run the exmaples, you can use the following command.
```bash
ns-3-dev/src $ ./waf --run "ptp-csma --logdir=./ptp_test/csma"
ns-3-dev/src $ ./waf --run "ptp-wifi-adhoc --logdir=./ptp_test/wifi_adhoc"
```
Both examples support visualization (`--visualize`) and network animation with NetAnim 3.08.
近期下载者:
相关文件:
收藏者: