i wrote a C++ program that executes "tc" using the std::system call. this fairly reduces the performance if many tc calls are required. i want to be able to rename tc''s main function to tc_main and pass argv and argc. has someone done something like this? please let me know how i can compile for netem. thanks. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Dear, js. You wrote Tuesday, May 03, 2005, 5:37:42 AM: By the way, try tc -b :) (batch mode)> i wrote a C++ program that executes "tc" using the > std::system call. this fairly reduces the performance > if many tc calls are required. > i want to be able to rename tc''s main function to > tc_main and pass argv and argc. has someone done > something like this? please let me know how i can > compile for netem.> thanks.> __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > _______________________________________________ > LARTC mailing list > LARTC@mailman.ds9a.nl > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc-- With best regards, GlobalProof Globax Division Manager, Denys Fedoryshchenko mailto:denys@globalproof.net
On Mon, 2 May 2005 19:37:42 -0700 (PDT) js si <nistnet_user@yahoo.com> wrote:> i wrote a C++ program that executes "tc" using the > std::system call. this fairly reduces the performance > if many tc calls are required. > i want to be able to rename tc''s main function to > tc_main and pass argv and argc. has someone done > something like this? please let me know how i can > compile for netem.You might want to look into libipq as a simpler programmatic interface to iproute