Home
last modified time | relevance | path

Searched refs:TC_H_MAJ (Results 1 – 9 of 9) sorted by relevance

/third_party/libnl/lib/route/
Dclassid.c123 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()
Dclass.c107 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()
Dcls.c390 cls->c_prio = TC_H_MAJ(cls->c_info) >> 16; in cls_msg_parser()
/third_party/iptables/extensions/
Dlibxt_CLASSIFY.c52 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/
Dnl-classid-lookup.c86 printf("%x:%x\n", TC_H_MAJ(classid) >> 16, TC_H_MIN(classid)); in main()
/third_party/libnl/include/netlink/route/
Dtc.h40 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min))
/third_party/libnl/tests/
Dtest-u32-filter-with-actions.c32 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min))
Dtest-complex-HTB-with-hash-filters.c32 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min))
/third_party/libnl/include/linux-private/linux/
Dpkt_sched.h69 #define TC_H_MAJ(h) ((h)&TC_H_MAJ_MASK) macro