Lines Matching refs:htid
49 __u32 htid = 0, hash = 0, nodeid = 0; in get_u32_handle() local
57 htid = strtoul(str, &tmp, 16); in get_u32_handle()
60 if (htid >= 0x1000) in get_u32_handle()
78 *handle = (htid<<20)|(hash<<12)|nodeid; in get_u32_handle()
85 __u32 htid = TC_U32_HTID(handle); in sprint_u32_handle() local
94 if (htid) { in sprint_u32_handle()
95 int l = snprintf(b, bsize, "%x:", htid>>20); in sprint_u32_handle()
995 __u32 htid = 0; in u32_parse_opt() local
1087 htid = (htid & 0xFF000) | (ht & 0xFFF00000); in u32_parse_opt()
1089 htid = (ht & 0xFFFFF000); in u32_parse_opt()
1120 htid = ((hash % divisor) << 12) | (htid & 0xFFF00000); in u32_parse_opt()
1185 if (htid) in u32_parse_opt()
1186 addattr_l(n, MAX_MSG, TCA_U32_HASH, &htid, 4); in u32_parse_opt()
1236 __u32 htid = rta_getattr_u32(tb[TCA_U32_HASH]); in u32_print_opt() local
1238 fprintf(f, "key ht %x bkt %x ", TC_U32_USERHTID(htid), in u32_print_opt()
1239 TC_U32_HASH(htid)); in u32_print_opt()