Module tc

Source

Functionsยง

class
class returns a list of all classes for a given interface name. It retrieves the list of links and then calls class_for_index for the link with the matching name.
class_for_index
class_for_index returns a list of all classes for a given interface index. The underlying implementation makes a netlink call with the RTM_GETCLASS command.
classes
classes returns a list of all classes on the system. It retrieves the list of links and then calls classes for each link.
qdiscs
qdiscs returns a list of all qdiscs on the system. The underlying implementation makes a netlink call with the RTM_GETQDISC command.
tc_stats