
A database to resolve qdisc/class names to classid values and vice versa. The function rtnl_tc_handle2str() and rtnl_tc_str2handle() will resolve names automatically. A CLI based tool nl-classid-lookup is provided to integrate the database into existing iproute2 scripts.
36 lines
941 B
Text
36 lines
941 B
Text
###############################################################################
|
|
#
|
|
# ClassID <-> Name Translation Table
|
|
#
|
|
# This file can be used to assign names to classids for easier reference
|
|
# in all libnl tools.
|
|
#
|
|
# Format:
|
|
# <MAJ:> <NAME> # qdisc definition
|
|
# <MAJ:MIN> <NAME> # class deifnition
|
|
# <NAME:MIN> <NAME> # class definition referencing an
|
|
# existing qdisc definition.
|
|
#
|
|
# Example:
|
|
# 1: top # top -> 1:0
|
|
# top:1 interactive # interactive -> 1:1
|
|
# top:2 www # www -> 1:2
|
|
# top:3 bulk # bulk -> 1:3
|
|
# 2:1 test_class # test_class -> 2:1
|
|
#
|
|
# Illegal Example:
|
|
# 30:1 classD
|
|
# classD:2 invalidClass # classD refers to a class, not a qdisc
|
|
#
|
|
###############################################################################
|
|
|
|
# <CLASSID> <NAME>
|
|
|
|
# Reserved default classids
|
|
0:0 none
|
|
ffff:ffff root
|
|
ffff:fff1 ingress
|
|
|
|
#
|
|
# List your classid definitions below:
|
|
#
|