System Calls
We have provided three system calls to enable the basic queues in the kernel.
set_dsmark(char cmd, void *arg, int size).
This call sets up the root dsmark queue. It takes the input argument in following structure.
struct dsmark_msg{
char dev[16];
__u32 parent;
__u32 handle;
int set_tc_index;
__u16 indices;
__u16 default_indices;
}