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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You definitely want to start with the Linux advanced routing and traffic control howto. I’d recommend using the
tcutility from iproute2 that the howto uses, but if you want a more direct API you can look at its source for an example.