I need to be able to shape traffic based on internal TCP information, such as Mime type or session length. This leads me to believe that I wish to MARK packets in a user space program using the queue mechanism. Google pointed me to an old howto that showed how this could be done with the obsolete(?) queue device construct. However, the current source code looks like carrying the modified mark back to the kernel is not supported in the API. Is there some way that I can mark(/shape) packets in an environment that supports regular expressions? Why was this removed from the current API? Any plans to put it back?