Important Note: This ns-2 implementation results from the merge between old code for ns-2.1b5, and code derived from the BSD kernel-level implementation of the JoBS algorithm. It is still considered experimental. Due to the absence of binding facilities for arrays between Tcl and C++ in tclcl at the moment, the number of traffic classes is statically set to 4 and cannot be changed without modifying the C++ code.