Home
last modified time | relevance | path

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

/external/libnl/tests/
Dtest-complex-HTB-with-hash-filters.c48 __u32 htid=0, hash=0, nodeid=0; in get_u32_handle() local
56 htid = strtoul(str, &tmp, 16); in get_u32_handle()
59 if (htid>=0x1000) in get_u32_handle()
77 *handle = (htid<<20)|(hash<<12)|nodeid; in get_u32_handle()
139 uint32_t htid, uint32_t classid in u32_add_filter_on_ht() argument
167 rtnl_u32_set_hashtable(cls, htid); in u32_add_filter_on_ht()
191 uint32_t htid, uint32_t htlink, uint32_t hmask, uint32_t hoffset in u32_add_filter_on_ht_with_hashmask() argument
219 if (htid) in u32_add_filter_on_ht_with_hashmask()
220 rtnl_u32_set_hashtable(cls, htid); in u32_add_filter_on_ht_with_hashmask()
240 int u32_add_ht(struct nl_sock *sock, struct rtnl_link *rtnlLink, uint32_t prio, uint32_t htid, uint… in u32_add_ht() argument
[all …]
Dtest-u32-filter-with-actions.c47 __u32 htid=0, hash=0, nodeid=0; in get_u32_handle() local
55 htid = strtoul(str, &tmp, 16); in get_u32_handle()
58 if (htid>=0x1000) in get_u32_handle()
76 *handle = (htid<<20)|(hash<<12)|nodeid; in get_u32_handle()
104 uint32_t htid, uint32_t htlink, uint32_t hmask, uint32_t hoffset, struct rtnl_act *act) in u32_add_filter_on_ht_with_hashmask() argument
128 if (htid) in u32_add_filter_on_ht_with_hashmask()
129 rtnl_u32_set_hashtable(cls, htid); in u32_add_filter_on_ht_with_hashmask()
152 int u32_add_ht(struct nl_sock *sock, struct rtnl_link *rtnlLink, uint32_t prio, uint32_t htid, uint… in u32_add_ht() argument
176 rtnl_u32_set_handle(cls, htid, 0x0, 0x0); in u32_add_ht()
235 uint32_t ht, htlink, htid, direction; in main() local
[all …]
/external/iproute2/tc/
Df_u32.c49 __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()
[all …]
/external/libnl/lib/route/cls/
Du32.c359 void rtnl_u32_set_handle(struct rtnl_cls *cls, int htid, int hash, in rtnl_u32_set_handle() argument
362 uint32_t handle = (htid << 20) | (hash << 12) | nodeid; in rtnl_u32_set_handle()