Home
last modified time | relevance | path

Searched refs:classid (Results 1 – 25 of 68) sorted by relevance

123

/external/libnl/lib/route/
Dclassid.c26 uint32_t classid; member
42 if (ma->classid < mb->classid) in compare_id()
45 if (ma->classid > mb->classid) in compare_id()
70 *result = map->classid; in classid_lookup()
78 static char *name_lookup(const uint32_t classid) in name_lookup() argument
82 .classid = classid, in name_lookup()
281 static int classid_map_add(uint32_t classid, const char *name) in classid_map_add() argument
289 map->classid = classid; in classid_map_add()
339 uint32_t classid; in rtnl_tc_read_classid_file() local
352 if ((err = rtnl_tc_str2handle(tok, &classid)) < 0) in rtnl_tc_read_classid_file()
[all …]
/external/libnl/src/
Dnl-classid-lookup.c35 uint32_t classid; in main() local
74 if ((err = rtnl_tc_str2handle(name, &classid)) < 0) in main()
80 printf("%s\n", rtnl_tc_handle2str(classid, buf, sizeof(buf))); in main()
82 printf("%#x\n", classid); in main()
84 printf("%x:%x\n", TC_H_MAJ(classid) >> 16, TC_H_MIN(classid)); in main()
/external/iproute2/examples/diffserv/
DEdge31-cb-chains90 $TC class change $EGDEV classid 1:1 dsmark mask 0x3 \
93 $TC class change $EGDEV classid 1:2 dsmark mask 0x3 \
96 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \
99 $TC class change $EGDEV classid 1:4 dsmark mask 0x3 \
107 handle 1 tcindex classid 1:1
109 handle 2 tcindex classid 1:2
111 handle 3 tcindex classid 1:3
113 handle 4 tcindex classid 1:4
DEdge138 $TC class change $EGDEV classid 1:1 dsmark mask 0x3 \
41 $TC class change $EGDEV classid 1:2 dsmark mask 0x3 \
44 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \
50 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 1 fw classid 1:1
51 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 2 fw classid 1:2
52 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 3 fw classid 1:3
DEdge32-cb-chains102 $TC class change $EGDEV classid 1:1 dsmark mask 0x3 \
105 $TC class change $EGDEV classid 1:2 dsmark mask 0x3 \
108 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \
111 $TC class change $EGDEV classid 1:4 dsmark mask 0x3 \
119 handle 1 tcindex classid 1:1
121 handle 2 tcindex classid 1:2
123 handle 3 tcindex classid 1:3
125 handle 4 tcindex classid 1:4
DEdge31-ca-u32129 $TC class change $EGDEV classid 1:1 dsmark mask 0x3 \
132 $TC class change $EGDEV classid 1:2 dsmark mask 0x3 \
135 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \
138 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \
145 handle 1 tcindex classid 1:1
147 handle 2 tcindex classid 1:2
149 handle 3 tcindex classid 1:3
151 handle 4 tcindex classid 1:4
DEdge32-cb-u32104 $TC class change $EGDEV classid 1:1 dsmark mask 0x3 \
107 $TC class change $EGDEV classid 1:2 dsmark mask 0x3 \
110 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \
113 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \
120 handle 1 tcindex classid 1:1
122 handle 2 tcindex classid 1:2
124 handle 3 tcindex classid 1:3
126 handle 4 tcindex classid 1:4
DEdge256 $TC class change $EGDEV classid 1:1 dsmark mask 0x3 \
58 $TC class change $EGDEV classid 1:2 dsmark mask 0x3 \
60 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \
66 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 1 fw classid 1:1
67 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 2 fw classid 1:2
68 $TC filter add $EGDEV parent 1:0 protocol ip prio 4 handle 3 fw classid 1:3
DEdge32-ca-u32157 $TC class change $EGDEV classid 1:1 dsmark mask 0x3 \
160 $TC class change $EGDEV classid 1:2 dsmark mask 0x3 \
163 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \
166 $TC class change $EGDEV classid 1:3 dsmark mask 0x3 \
173 handle 1 tcindex classid 1:1
175 handle 2 tcindex classid 1:2
177 handle 3 tcindex classid 1:3
179 handle 4 tcindex classid 1:4
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DOffline.java58 public static boolean[] getProbes(final long classid, in getProbes() argument
64 ExecutionData entry = DATA.get(classid); in getProbes()
66 entry = new ExecutionData(classid, classname, probecount); in getProbes()
67 DATA.put(classid, entry); in getProbes()
69 entry.assertCompatibility(classid, classname, probecount); in getProbes()
/external/iproute2/examples/
Dcbqinit.eth125 $TC class add dev $DEVICE parent 1:0 classid :1 est 1sec 8sec cbq \
35 $TC class add dev $DEVICE parent 1:1 classid :2 est 1sec 8sec cbq \
47 $TC class add dev $DEVICE parent 1:1 classid :3 est 2sec 16sec cbq \
55 $TC class add dev $DEVICE parent 1:1 classid :4 est 1sec 8sec cbq \
63 $TC class add dev $DEVICE parent 1:1 classid 1:7FFE cbq \
73 $TC class add dev $DEVICE parent 1:7FFE classid 1:7FFF est 4sec 32sec cbq \
Dcbq.init-v0.7.3770 tc class add dev $DEVICE parent 1:$PARENT classid 1:$CLASS cbq \
789 prio $PRIO_MARK handle $mark fw classid 1:$CLASS
804 ${DREALM:+to $DREALM} classid 1:$CLASS
847 prio $PRIO_RULE u32 $u32_s $u32_d classid 1:$CLASS
944 tc class replace dev $DEVICE classid 1:$CLASS cbq \
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/index/
DElementIndex.java48 public String getLinkToClass(final long classid) { in getLinkToClass() argument
49 return allClasses.get(Long.valueOf(classid)); in getLinkToClass()
54 public void addClass(final ILinkable link, final long classid) { in addClass() argument
55 allClasses.put(Long.valueOf(classid), link.getLink(baseFolder)); in addClass()
/external/iptables/extensions/
Dlibxt_cgroup.c49 XTOPT_POINTER(struct xt_cgroup_info_v1, classid)
67 XTOPT_POINTER(struct xt_cgroup_info_v2, classid)
145 printf(" %s%u", info->invert_classid ? "! ":"", info->classid); in cgroup_print_v1()
159 info->classid); in cgroup_save_v1()
171 printf(" %s%u", info->invert_classid ? "! ":"", info->classid); in cgroup_print_v2()
185 info->classid); in cgroup_save_v2()
209 info->classid); in cgroup_xlate_v1()
225 info->classid); in cgroup_xlate_v2()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/runtime/
DRuntimeData.java159 final Long classid = (Long) args[0]; in getProbes() local
162 args[0] = getExecutionData(classid, name, probecount).getProbes(); in getProbes()
195 public static void generateArgumentArray(final long classid, in generateArgumentArray() argument
203 mv.visitLdcInsn(Long.valueOf(classid)); in generateArgumentArray()
239 public static void generateAccessCall(final long classid, in generateAccessCall() argument
243 generateArgumentArray(classid, classname, probecount, mv); in generateAccessCall()
DOfflineInstrumentationAccessGenerator.java48 public int generateDataAccessor(final long classid, final String classname, in generateDataAccessor() argument
50 mv.visitLdcInsn(Long.valueOf(classid)); in generateDataAccessor()
DSystemPropertiesRuntime.java41 public int generateDataAccessor(final long classid, final String classname, in generateDataAccessor() argument
58 RuntimeData.generateAccessCall(classid, classname, probecount, mv); in generateDataAccessor()
/external/iproute2/testsuite/tests/tc/
Dcls-testbed.t24 class add dev $DEV parent 10:0 classid 10:12 \
37 class add dev $DEV parent 10:0 classid 10:12 \
50 class change dev $DEV parent 20:0 classid 20:12 \
Ddsmark.t17 class change dev $DEV parent 10:0 classid 10:12 \
21 class change dev $DEV parent 10:0 classid 10:13 \
Dcbq.t4 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 p…
9 $TC class add dev $DEV parent 10:0 classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 p…
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
DOfflineInstrumentationAccessGeneratorTest.java40 public static boolean[] getProbes(final long classid, in getProbes() argument
85 private ITarget generateAndInstantiateClass(int classid) in generateAndInstantiateClass() argument
89 + classid; in generateAndInstantiateClass()
110 final int size = generator.generateDataAccessor(classid, className, 2, in generateAndInstantiateClass()
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_cgroup.h19 __u32 classid; member
34 __u32 classid; member
/external/iptables/include/linux/netfilter/
Dxt_cgroup.h19 __u32 classid; member
34 __u32 classid; member
/external/libnl/tests/
Dtest-complex-HTB-with-hash-filters.c139 uint32_t htid, uint32_t classid in u32_add_filter_on_ht() argument
171 rtnl_u32_set_classid(cls, classid); in u32_add_filter_on_ht()
503 uint32_t ht, htlink, htid, direction, classid; in main() local
741 err = get_tc_classid(&classid, "1:5"); in main()
745 htid, classid); in main()
751 err = get_tc_classid(&classid, "1:6"); in main()
755 htid, classid); in main()
/external/bcc/examples/networking/
Dsimple_tc.py24 name=fn.name, parent="ffff:", action="ok", classid=1)
27 name=fn.name, parent="1:", action="ok", classid=1)

123