i got 1 source code for netem.c in
http://libnl2.sourcearchive.com/docu...8c_source.html but it doesnot contain a main function.is it possible to have a c program without the main function.i am using fedora 14 and i have included all the user header files mentioned in the above code inside the /usr/include/netlink directory.but while executing the programming i got deferencing pointer incomplete type in all the structures the program contains.
am i able to clear my question?
i even tried to search inside different directories of linux.and got a code for netem in linux/net/schd and got a program sch_netem.c but it also without the main function.is there is any way to execute such codes?