17th Part:
檔案管理方式決定: 用 freemind 畫好了 INET6 與 INET 檔案分佈圖, 隨時比較兩者間相應模組與進度
封包測試方式決定: 使用 tictoc scenario 先測試 IPv6, ICMPv6 封包格式的正確性
17th Part:
檔案管理方式決定: 用 freemind 畫好了 INET6 與 INET 檔案分佈圖, 隨時比較兩者間相應模組與進度
封包測試方式決定: 使用 tictoc scenario 先測試 IPv6, ICMPv6 封包格式的正確性
The Mobility module provides a geographical position of the host and handles its movement.
The Blackboard module is used for cross layer communication. It provides information relevant to more than one layer like the actual energy status of the host, the display appearance or the status of the radio.
就好像 Unix Programming guide 講的,unix 程式設計的哲學就是ㄧ件工具能將ㄧ件事做的最好,然後再將各種工具 "串接"(pipe) 起來共同完成一項工作.
在實體世界中,這種 "簡約"(Simplicity) 的思考,體現在 "ipod" 等商品熱賣上. 人們將會擁有一堆能將單一工作做的最好的工具.
使各種工具ㄧ起完成工作,工具之間的溝通當然是透過網路. 而擔任如 perl 或 python 在作業中 "膠合劑"(glue) 的腳色的會是我在ㄧ篇論文裡提出的個人化內容分散式網路的概念 (Personal Content Distribution Internetwork)
"Ubiquitous Computing"
15th Part:
模組組成
IP6
封包處理流程: 收到封包 -> 判斷是給自己或給別人的封包 (Deliver locally/Addressed to another node) If 給別人 ->Look up routing table -> 轉送封包到對應介面上 (identified interface)
16th Part: 位址格式:
Addressing format (參考 Smartbit-smartflow):
13th. Part: 看 RFC3493 與 RFC 2542 一邊處理 IP6Address.h 位址格式設定的問題.
原本 IPAddress 內部結構是 unsigned char addr[4]; 用來儲存 32bits IP 位址 改成 IP6Address 後, 內部結構要儲存 128 bits IPv6 位址,因此改成 uint8_t s6_addr[16];
取消輸入值或回傳值為 int 型態的函數,因為與 IPv6 位址表示方式不符, 這部分需弄更清楚後再作加強.
14th. Part: 聯想:
猜測 OMNET++ 中的 IPControInfo 應該就是 RFC 中的 sockaddr_in , 是用來與上層協定溝通的資料結構.
該詢問 INET Wireless 模組部分的進度 The routing information for wired nodes are based on connectivity of the topology, i.e how are nodes connected to one another through Links. This connectivity information is used to populate the forwarding tables in each wired node., however wireless nodes have no concept of "links".
Inorder to exchange pkts among these wired and wireless nodes, Base-stations(BS) is introduced to act as gateways between the two domains.
porting 學長模組時, 發現 OPNET/NS2 (Mobiwan2) 共同的缺點是模組用太多簡寫, 讓人剛開始沒有辦法一看就很清楚這模組的作用...... 若能減少花在辨認簡寫上的時間, 使用者可以更容易明瞭各模組的作用, 也能更容易去使用它們.