Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は ns2 DSR プロトコルで作業しています。DSR プロトコルで隣接ノードを取得する方法と、DSR でルーティング テーブルを取得する方法を学びたいと思います。私を助けてください
事前の感謝
mobicache.cc で定義された addRoute 関数を使用して、キャッシュの内容を表示します。単純な printf ステートメントは、addRoute 関数が呼び出されるたびにすべてのルートを表示します。
path &p = cache[0]; printf("%s %d %s", routecache->net_id.dump(), p.length(), p.dump());