(netdev and linux developers removed from the cc: list) Here's what I believe to be a matching patch for ns-3. Unlike the first version, this should compile even if ns-3 has not been built first. It includes a bunch of trace sources, allowing graphing of sojourn times and queue occupancy, for example. Attach a CoDelQueue to a point-to-point interface (or anything that supports the SetQueue API) like this (C++ version, Python should be obvious): bottleneckchannel.SetQueue ("ns3::CoDelQueue", "Interval", StringValue(CoDelInterval), "Target", StringValue(CoDelTarget) ); As an example, a trace path for bytesInQueue will look something like "/NodeList/*/DeviceList/*/$ns3::PointToPointNetDevice/TxQueue/$ns3::CoDelQueue/bytesInQueue"