Home
last modified time | relevance | path

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

123

/external/libnl/lib/route/
Dclassid.c27 uint32_t classid; member
43 if (ma->classid < mb->classid) in compare_id()
46 if (ma->classid > mb->classid) in compare_id()
71 *result = map->classid; in classid_lookup()
79 static char *name_lookup(const uint32_t classid) in name_lookup() argument
83 .classid = classid, in name_lookup()
282 static int classid_map_add(uint32_t classid, const char *name) in classid_map_add() argument
290 map->classid = classid; in classid_map_add()
340 uint32_t classid; in rtnl_tc_read_classid_file() local
353 if ((err = rtnl_tc_str2handle(tok, &classid)) < 0) in rtnl_tc_read_classid_file()
[all …]
/external/libnl/src/
Dnl-classid-lookup.c37 uint32_t classid; in main() local
76 if ((err = rtnl_tc_str2handle(name, &classid)) < 0) in main()
82 printf("%s\n", rtnl_tc_handle2str(classid, buf, sizeof(buf))); in main()
84 printf("%#x\n", classid); in main()
86 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
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-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
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
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-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/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 \
/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.java162 final Long classid = (Long) args[0]; in getExecutionData() local
165 args[0] = getExecutionData(classid, name, probecount); in getExecutionData()
201 public static void generateArgumentArray(final long classid, in generateArgumentArray() argument
209 mv.visitLdcInsn(Long.valueOf(classid)); in generateArgumentArray()
245 public static void generateAccessCall(final long classid, in generateAccessCall() argument
249 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/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/
DOffline.java69 public static IExecutionData getExecutionData(final long classid, in getExecutionData() argument
74 ExecutionDataDelegate entry = DATA.get(classid); in getExecutionData()
77 classid, classname, probecount, CHANNEL); in getExecutionData()
78 DATA.put(classid, entry); in getExecutionData()
80 entry.assertCompatibility(classid, classname, probecount); in getExecutionData()
/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/iptables/include/linux/netfilter/
Dxt_cgroup.h19 __u32 classid; member
34 __u32 classid; member
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_cgroup.h19 __u32 classid; member
34 __u32 classid; member
/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)
/external/libnl/tests/
Dtest-complex-HTB-with-hash-filters.c142 uint32_t htid, uint32_t classid in u32_add_filter_on_ht() argument
174 rtnl_u32_set_classid(cls, classid); in u32_add_filter_on_ht()
506 uint32_t ht, htlink, htid, direction, classid; in main() local
745 err = get_tc_classid(&classid, "1:5"); in main()
749 htid, classid); in main()
755 err = get_tc_classid(&classid, "1:6"); in main()
759 htid, classid); in main()
/external/libnl/lib/route/cls/
Dmall.c45 int rtnl_mall_set_classid(struct rtnl_cls *cls, uint32_t classid) in rtnl_mall_set_classid() argument
51 mall->m_classid = classid; in rtnl_mall_set_classid()
57 int rtnl_mall_get_classid(struct rtnl_cls *cls, uint32_t *classid) in rtnl_mall_get_classid() argument
67 *classid = mall->m_classid; in rtnl_mall_get_classid()

123