Classes - More....
Operations Permitted by Queuing Disciplines on Classes
These operations are defined in include/net/pkt_sched.h.
- Graft, get, put, change, delete, walk, tcf_chain, bind_tcf, unbind_tcf, dump_class
Classification is done with the help of filters.
Another way for the classification of locally generated traffic is SO_PRIORITY socket option in the setsockopt call. This will be used to select the class corresponding to SO_PRIORITY in the queuing discipline set for the device.
After selecting the class, the enqueue function corresponding to the queuing discipline of this class is called.