/external/libnl/tests/ |
test-complex-HTB-with-hash-filters.c | 48 __u32 htid=0, hash=0, nodeid=0; local 56 htid = strtoul(str, &tmp, 16); 59 if (htid>=0x1000) 77 *handle = (htid<<20)|(hash<<12)|nodeid; 139 uint32_t htid, uint32_t classid 167 rtnl_u32_set_hashtable(cls, htid); 191 uint32_t htid, uint32_t htlink, uint32_t hmask, uint32_t hoffset 219 if (htid) 220 rtnl_u32_set_hashtable(cls, htid); 240 int u32_add_ht(struct nl_sock *sock, struct rtnl_link *rtnlLink, uint32_t prio, uint32_t htid, uint32_t divisor 503 uint32_t ht, htlink, htid, direction, classid; local [all...] |
test-u32-filter-with-actions.c | 47 __u32 htid=0, hash=0, nodeid=0; local 55 htid = strtoul(str, &tmp, 16); 58 if (htid>=0x1000) 76 *handle = (htid<<20)|(hash<<12)|nodeid; 104 uint32_t htid, uint32_t htlink, uint32_t hmask, uint32_t hoffset, struct rtnl_act *act) 128 if (htid) 129 rtnl_u32_set_hashtable(cls, htid); 152 int u32_add_ht(struct nl_sock *sock, struct rtnl_link *rtnlLink, uint32_t prio, uint32_t htid, uint32_t divisor) 176 rtnl_u32_set_handle(cls, htid, 0x0, 0x0); 177 //printf("htid: 0x%X\n", htid) 235 uint32_t ht, htlink, htid, direction; local [all...] |
/external/iproute2/tc/ |
f_u32.c | 34 "Usage: ... u32 [ match SELECTOR ... ] [ link HTID ] [ classid CLASSID ]\n" 36 " [ ht HTID ] [ hashkey HASHKEY_SPEC ]\n" 49 __u32 htid = 0, hash = 0, nodeid = 0; local 57 htid = strtoul(str, &tmp, 16); 60 if (htid >= 0x1000) 78 *handle = (htid<<20)|(hash<<12)|nodeid; 85 __u32 htid = TC_U32_HTID(handle); local 94 if (htid) { 95 int l = snprintf(b, bsize, "%x:", htid>>20); 995 __u32 htid = 0 local 1236 __u32 htid = rta_getattr_u32(tb[TCA_U32_HASH]); local [all...] |