These patches are ones that I've prepared as I've been working on QoS support. They do not themselves add QoS support, but they lay some useful groundwork. I'm putting these out here for early review. I hope to post the actual QoS patches in a few days.