Home
last modified time | relevance | path

Searched refs:TC_H_MIN (Results 1 – 15 of 15) sorted by relevance

/external/libnl/lib/route/
Dclassid.c123 snprintf(buf, len, ":%x", TC_H_MIN(handle)); in rtnl_tc_handle2str()
124 else if (0 == TC_H_MIN(handle)) in rtnl_tc_handle2str()
128 TC_H_MAJ(handle) >> 16, TC_H_MIN(handle)); in rtnl_tc_handle2str()
202 if (TC_H_MIN(h)) in rtnl_tc_str2handle()
395 if (TC_H_MIN(++classid) == TC_H_MIN(TC_H_ROOT)) in rtnl_classid_generate()
411 if (TC_H_MIN(classid)) in rtnl_classid_generate()
412 fprintf(fd, "%x", TC_H_MIN(classid)); in rtnl_classid_generate()
Dcls.c373 cls->c_protocol = ntohs(TC_H_MIN(cls->c_info)); in cls_msg_parser()
/external/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()
101 TC_H_MIN(handle)); in CLASSIFY_xlate()
/external/libnl/src/
Dnl-classid-lookup.c84 printf("%x:%x\n", TC_H_MAJ(classid) >> 16, TC_H_MIN(classid)); in main()
/external/libnl/include/netlink/route/
Dtc.h40 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min))
/external/iproute2/tc/
Dtc_util.c141 snprintf(handle, hlen, ":%x", TC_H_MIN(h)); in print_tc_classid()
142 else if (TC_H_MIN(h) == 0) in print_tc_classid()
145 snprintf(handle, hlen, "%x:%x", TC_H_MAJ(h) >> 16, TC_H_MIN(h)); in print_tc_classid()
Dtc_class.c349 print_tc_classid(abuf, sizeof(abuf), TC_H_MIN(t->tcm_handle)); in print_class()
362 print_tc_classid(abuf, sizeof(abuf), TC_H_MIN(t->tcm_parent)); in print_class()
Df_flow.c210 if (get_tc_classid(&tmp, *argv) || TC_H_MIN(tmp) == 0) { in flow_parse_opt()
Dtc_filter.c244 f_proto = TC_H_MIN(t->tcm_info); in print_filter()
Df_flower.c168 __be16 eth_type = TC_H_MIN(t->tcm_info); in flower_parse_opt()
/external/libnl/tests/
Dtest-u32-filter-with-actions.c28 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min))
Dtest-complex-HTB-with-hash-filters.c29 #define TC_HANDLE(maj, min) (TC_H_MAJ((maj) << 16) | TC_H_MIN(min))
/external/libnl/include/linux-private/linux/
Dpkt_sched.h69 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro
/external/iproute2/include/linux/
Dpkt_sched.h69 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro
/external/kernel-headers/original/uapi/linux/
Dpkt_sched.h69 #define TC_H_MIN(h) ((h)&TC_H_MIN_MASK) macro