Searched refs:TC_HANDLE (Results 1 – 4 of 4) sorted by relevance
/external/libnl/tests/ |
D | test-complex-HTB-with-hash-filters.c | 29 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min)) macro 165 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(1, 0)); in u32_add_filter_on_ht() 217 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(1, 0)); in u32_add_filter_on_ht_with_hashmask() 262 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(1, 0)); in u32_add_ht() 302 rtnl_tc_set_handle(TC_CAST(qdisc), TC_HANDLE(1,0)); in qdisc_add_HTB() 311 rtnl_htb_set_defcls(qdisc, TC_HANDLE(1, defaultClass)); in qdisc_add_HTB() 351 rtnl_tc_set_parent(TC_CAST(class), TC_HANDLE(parentMaj, parentMin)); in class_add_HTB() 352 rtnl_tc_set_handle(TC_CAST(class), TC_HANDLE(childMaj, childMin)); in class_add_HTB() 459 rtnl_tc_set_parent(TC_CAST(qdisc), TC_HANDLE(parentMaj, parentMin)); in qdisc_add_SFQ_leaf() 461 rtnl_tc_set_handle(TC_CAST(qdisc), TC_HANDLE(parentMin,0)); in qdisc_add_SFQ_leaf()
|
D | test-u32-filter-with-actions.c | 28 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min)) macro 126 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(0xffff, 0)); in u32_add_filter_on_ht_with_hashmask() 174 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(0xffff, 0)); in u32_add_ht() 212 rtnl_tc_set_handle(TC_CAST(qdisc), TC_HANDLE(0xffff, 0)); in qdisc_add_ingress()
|
/external/libnl/include/netlink/route/ |
D | tc.h | 40 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min)) macro
|
/external/libnl/doc/ |
D | route.txt | 1627 if (!(qdisc = rtnl_qdisc_get(all_qdiscs, ifindex, TC_HANDLE(1, 0)))) 1668 rtnl_tc_set_handle(TC_CAST(qdisc), TC_HANDLE(1, 0)); 1681 rtnl_htb_set_defcls(qdisc, TC_HANDLE(1, 5));
|