Searched refs:TC_H_MAJ (Results 1 – 9 of 9) sorted by relevance
/third_party/libnl/lib/route/ |
D | classid.c | 123 else if (0 == TC_H_MAJ(handle)) in rtnl_tc_handle2str() 126 snprintf(buf, len, "%x:", TC_H_MAJ(handle) >> 16); in rtnl_tc_handle2str() 129 TC_H_MAJ(handle) >> 16, TC_H_MIN(handle)); in rtnl_tc_handle2str() 217 if (TC_H_MAJ(h)) in rtnl_tc_str2handle() 232 if (TC_H_MAJ(l)) in rtnl_tc_str2handle() 388 if (base == TC_H_MAJ(TC_H_ROOT)) in rtnl_classid_generate() 394 classid = TC_H_MAJ(parent); in rtnl_classid_generate() 411 fprintf(fd, "%x:", TC_H_MAJ(classid) >> 16); in rtnl_classid_generate()
|
D | class.c | 107 TC_H_MAJ(class->c_parent) && TC_H_MAJ(class->c_handle) && in class_build() 108 TC_H_MAJ(class->c_parent) != TC_H_MAJ(class->c_handle)) { in class_build()
|
D | cls.c | 390 cls->c_prio = TC_H_MAJ(cls->c_info) >> 16; in cls_msg_parser()
|
/third_party/iptables/extensions/ |
D | libxt_CLASSIFY.c | 52 printf(" %x:%x", TC_H_MAJ(priority)>>16, TC_H_MIN(priority)); in CLASSIFY_print_class() 73 TC_H_MAJ(clinfo->priority)>>16, TC_H_MIN(clinfo->priority)); in CLASSIFY_save() 83 TC_H_MAJ(clinfo->priority)>>16, TC_H_MIN(clinfo->priority)); in CLASSIFY_arp_save() 111 xt_xlate_add(xl, "%0x:%0x", TC_H_MAJ(handle) >> 16, in CLASSIFY_xlate()
|
/third_party/libnl/src/ |
D | nl-classid-lookup.c | 86 printf("%x:%x\n", TC_H_MAJ(classid) >> 16, TC_H_MIN(classid)); in main()
|
/third_party/libnl/include/netlink/route/ |
D | tc.h | 40 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min))
|
/third_party/libnl/tests/ |
D | test-u32-filter-with-actions.c | 32 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min))
|
D | test-complex-HTB-with-hash-filters.c | 32 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min))
|
/third_party/libnl/include/linux-private/linux/ |
D | pkt_sched.h | 69 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro
|