System Calls
System calls implemented by us
- set_qdisc() : To setup queuing disciplines
- set_class() : To setup classes
- set_filter() : To setup filters
set_qdisc system call
- int set_qdisc(char cmd, void *arg, int size)
- cmd : ADD_QDISC, DELETE_QDISC, CHANGE_QDISC etc.
- arg : pointer to struct qdisc_msg
- struct qdisc_msg is the structure to be filled by the user with the required parameters like device, qdisc type, bandwidth etc.
- size : size of the qdisc_msg to be sent