Home
last modified time | relevance | path

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

/external/libnl/tests/
Dtest-complex-HTB-with-hash-filters.c32 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min)) macro
168 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(1, 0)); in u32_add_filter_on_ht()
220 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(1, 0)); in u32_add_filter_on_ht_with_hashmask()
265 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(1, 0)); in u32_add_ht()
305 rtnl_tc_set_handle(TC_CAST(qdisc), TC_HANDLE(1,0)); in qdisc_add_HTB()
314 rtnl_htb_set_defcls(qdisc, TC_HANDLE(1, defaultClass)); in qdisc_add_HTB()
354 rtnl_tc_set_parent(TC_CAST(class), TC_HANDLE(parentMaj, parentMin)); in class_add_HTB()
355 rtnl_tc_set_handle(TC_CAST(class), TC_HANDLE(childMaj, childMin)); in class_add_HTB()
462 rtnl_tc_set_parent(TC_CAST(qdisc), TC_HANDLE(parentMaj, parentMin)); in qdisc_add_SFQ_leaf()
464 rtnl_tc_set_handle(TC_CAST(qdisc), TC_HANDLE(parentMin,0)); in qdisc_add_SFQ_leaf()
Dtest-u32-filter-with-actions.c32 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min)) macro
130 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(0xffff, 0)); in u32_add_filter_on_ht_with_hashmask()
180 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(0xffff, 0)); in u32_add_ht()
218 rtnl_tc_set_handle(TC_CAST(qdisc), TC_HANDLE(0xffff, 0)); in qdisc_add_ingress()
/external/libnl/include/netlink/route/
Dtc.h40 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min)) macro
/external/libnl/doc/
Droute.txt1727 if (!(qdisc = rtnl_qdisc_get(all_qdiscs, ifindex, TC_HANDLE(1, 0))))
1768 rtnl_tc_set_handle(TC_CAST(qdisc), TC_HANDLE(1, 0));
1781 rtnl_htb_set_defcls(qdisc, TC_HANDLE(1, 5));