Lines Matching refs:htid
687 static u32 gen_new_kid(struct tc_u_hnode *ht, u32 htid) in gen_new_kid() argument
689 u32 index = htid | 0x800; in gen_new_kid()
690 u32 max = htid | 0xFFF; in gen_new_kid()
693 index = htid + 1; in gen_new_kid()
857 u32 htid, userflags = 0; in u32_change() local
981 htid = nla_get_u32(tb[TCA_U32_HASH]); in u32_change()
982 if (TC_U32_HTID(htid) == TC_U32_ROOT) { in u32_change()
984 htid = ht->handle; in u32_change()
986 ht = u32_lookup_ht(tp->data, TC_U32_HTID(htid)); in u32_change()
994 htid = ht->handle; in u32_change()
997 if (ht->divisor < TC_U32_HASH(htid)) { in u32_change()
1003 if (TC_U32_HTID(handle) && TC_U32_HTID(handle ^ htid)) { in u32_change()
1007 handle = htid | TC_U32_NODE(handle); in u32_change()
1013 handle = gen_new_kid(ht, htid); in u32_change()
1290 u32 htid = n->handle & 0xFFFFF000; in u32_dump() local
1291 if (nla_put_u32(skb, TCA_U32_HASH, htid)) in u32_dump()