Search code examples
c++network-programmingqostrafficshaping

Looking for traffic control function (i.e. QOS) library in Linux


I try to port some C++ code from Windows to Linux, but I can't find a similar API for traffic control functions in Linux.

I need these functions. Please help if you know where I can find such API?

Thank you for your time.


Solution

  • You definitely want to start with the Linux advanced routing and traffic control howto. I'd recommend using the tc utility from iproute2 that the howto uses, but if you want a more direct API you can look at its source for an example.