Home
last modified time | relevance | path

Searched refs:htid (Results 1 – 2 of 2) sorted by relevance

/external/iproute2/tc/
Df_u32.c50 __u32 htid=0, hash=0, nodeid=0; in get_u32_handle() local
58 htid = strtoul(str, &tmp, 16); in get_u32_handle()
61 if (htid>=0x1000) in get_u32_handle()
79 *handle = (htid<<20)|(hash<<12)|nodeid; in get_u32_handle()
86 __u32 htid = TC_U32_HTID(handle); in sprint_u32_handle() local
95 if (htid) { in sprint_u32_handle()
96 int l = snprintf(b, bsize, "%x:", htid>>20); in sprint_u32_handle()
984 __u32 htid = 0; in u32_parse_opt() local
1073 htid = (htid & 0xFF000) | (handle & 0xFFF00000); in u32_parse_opt()
1075 htid = (handle & 0xFFFFF000); in u32_parse_opt()
[all …]
/external/libnl/lib/route/cls/
Du32.c343 void rtnl_u32_set_handle(struct rtnl_cls *cls, int htid, int hash, in rtnl_u32_set_handle() argument
346 uint32_t handle = (htid << 20) | (hash << 12) | nodeid; in rtnl_u32_set_handle()