BjRaj Posted March 17, 2013 Posted March 17, 2013 hi friends, I am trying to develope a wide area network emulator..for which I need the source code for NETEM..can anyone tell me where i can have the source code with packeges..I got one code but its does not look sufficient..i didnot find the main function in that code..please reply and help me..thank you..
pwagen Posted March 17, 2013 Posted March 17, 2013 From what I understand, NETEM is baked into the Linux kernel, so it won't have a main function. You'll have to figure out where the operating system calls the functions, then make a main function of your own from that. ftp://ftp.acer-euro.com/gpl/AS1800/linux-2.4.27/net/sched/sch_netem.c
BjRaj Posted March 17, 2013 Author Posted March 17, 2013 From what I understand, NETEM is baked into the Linux kernel, so it won't have a main function. You'll have to figure out where the operating system calls the functions, then make a main function of your own from that. ftp://ftp.acer-euro.com/gpl/AS1800/linux-2.4.27/net/sched/sch_net thank you..can i call the NETEM code from terminal?
pwagen Posted March 17, 2013 Posted March 17, 2013 thank you..can i call the NETEM code from terminal? I don't know if you can access the code directly, but the the tool to use it is "tc", as decribed in this link: http://www.linuxfoundation.org/collaborate/workgroups/networking/netem Hopefully you can find something useful there, or in the source.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now