Please click the following link: ns-allinone-3.22.

A source code patch to update ns-3.21 release to ns-3.22 release is available here. Other patches to migrate older versions of ns-3 (back to ns-3.17) to the latest version can be found in the same directory; they must be applied sequentially to upgrade across multiple releases.