{"id":3538,"date":"2022-12-20T17:08:57","date_gmt":"2022-12-20T20:08:57","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/traffic-control-index-filter-man8\/"},"modified":"2022-12-20T17:08:57","modified_gmt":"2022-12-20T20:08:57","slug":"traffic-control-index-filter-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/traffic-control-index-filter-man8\/","title":{"rendered":"Traffic control index filter (man8)"},"content":{"rendered":"<h1 align=\"center\">Traffic control index filter<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">tcindex \u2212 traffic control index filter<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>tc filter<\/b> &#8230; <b>tcindex<\/b> [ <b>hash<\/b> <i>SIZE<\/i> ] [ <b>mask<\/b> <i>MASK<\/i> ] [ <b>shift<\/b> <i>SHIFT<\/i> ] [ <b>pass_on<\/b> | <b>fall_through<\/b> ] [ <b>classid<\/b> <i>CLASSID<\/i> ] [ <b>action ACTION_SPEC<\/b> ]<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This filter allows to match packets based on their <b>tcindex<\/b> field value, i.e. the combination of the DSCP and ECN fields as present in IPv4 and IPv6 headers.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>action<\/b> <i>ACTION_SPEC<\/i><\/p>\n<p style=\"margin-left:22%;\">Apply an action from the generic actions framework on matching packets.<\/p>\n<p style=\"margin-left:11%;\"><b>classid<\/b> <i>CLASSID<\/i><\/p>\n<p style=\"margin-left:22%;\">Push matching packets into the class identified by <i>CLASSID<\/i>.<\/p>\n<p style=\"margin-left:11%;\"><b>hash<\/b> <i>SIZE<\/i><\/p>\n<p style=\"margin-left:22%;\">Hash table size in entries to use. Defaults to 64.<\/p>\n<p style=\"margin-left:11%;\"><b>mask<\/b> <i>MASK<\/i><\/p>\n<p style=\"margin-left:22%;\">An optional bitmask to binary <b>AND<\/b> to the packet\u2019s <b>tcindex<\/b> field before use.<\/p>\n<p style=\"margin-left:11%;\"><b>shift<\/b> <i>SHIFT<\/i><\/p>\n<p style=\"margin-left:22%;\">The number of bits to right-shift a packet\u2019s <b>tcindex<\/b> value before use. If a <b>mask<\/b> has been set, masking is done before shifting.<\/p>\n<p style=\"margin-left:11%;\"><b>pass_on<\/b><\/p>\n<p style=\"margin-left:22%;\">If this flag is set, failure to find a class for the resulting ID will make the filter fail and lead to the next filter being consulted.<\/p>\n<p style=\"margin-left:11%;\"><b>fall_through<\/b><\/p>\n<p style=\"margin-left:22%;\">This is the opposite of <b>pass_on<\/b> and the default. The filter will classify the packet even if there is no class present for the resulting class ID.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>tc<\/b>(8)<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  tcindex \u2212 traffic control index filter <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,658],"class_list":["post-3538","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-tc-tcindex"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3538","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3538"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3538\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3538"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3538"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}