/external/libnl/tests/ |
D | test-complex-HTB-with-hash-filters.c | 158 rtnl_tc_set_link(TC_CAST(cls), rtnlLink); in u32_add_filter_on_ht() 160 if ((err = rtnl_tc_set_kind(TC_CAST(cls), "u32"))) { in u32_add_filter_on_ht() 168 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(1, 0)); in u32_add_filter_on_ht() 210 rtnl_tc_set_link(TC_CAST(cls), rtnlLink); in u32_add_filter_on_ht_with_hashmask() 212 if ((err = rtnl_tc_set_kind(TC_CAST(cls), "u32"))) { in u32_add_filter_on_ht_with_hashmask() 220 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(1, 0)); in u32_add_filter_on_ht_with_hashmask() 256 rtnl_tc_set_link(TC_CAST(cls), rtnlLink); in u32_add_ht() 258 if ((err = rtnl_tc_set_kind(TC_CAST(cls), "u32"))) { in u32_add_ht() 265 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(1, 0)); in u32_add_ht() 295 rtnl_tc_set_link(TC_CAST(qdisc), rtnlLink); in qdisc_add_HTB() [all …]
|
D | test-u32-filter-with-actions.c | 120 rtnl_tc_set_link(TC_CAST(cls), rtnlLink); in u32_add_filter_on_ht_with_hashmask() 122 if ((err = rtnl_tc_set_kind(TC_CAST(cls), "u32"))) { in u32_add_filter_on_ht_with_hashmask() 130 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(0xffff, 0)); in u32_add_filter_on_ht_with_hashmask() 171 rtnl_tc_set_link(TC_CAST(cls), rtnlLink); in u32_add_ht() 173 if ((err = rtnl_tc_set_kind(TC_CAST(cls), "u32"))) { in u32_add_ht() 180 rtnl_tc_set_parent(TC_CAST(cls), TC_HANDLE(0xffff, 0)); in u32_add_ht() 211 rtnl_tc_set_link(TC_CAST(qdisc), rtnlLink); in qdisc_add_ingress() 212 rtnl_tc_set_parent(TC_CAST(qdisc), TC_H_ROOT); in qdisc_add_ingress() 218 rtnl_tc_set_handle(TC_CAST(qdisc), TC_HANDLE(0xffff, 0)); in qdisc_add_ingress() 220 if ((err = rtnl_tc_set_kind(TC_CAST(qdisc), "ingress"))) { in qdisc_add_ingress() [all …]
|
/external/libnl/lib/route/qdisc/ |
D | netem.c | 356 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_limit() 372 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_limit() 398 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_gap() 414 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_gap() 433 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_reorder_probability() 449 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_reorder_probability() 468 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_reorder_correlation() 484 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_reorder_correlation() 510 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_set_corruption_probability() 526 if (!(netem = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_netem_get_corruption_probability() [all …]
|
D | fq_codel.c | 152 if (!(fq_codel = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fq_codel_set_limit() 170 if (!(fq_codel = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fq_codel_get_limit() 189 if (!(fq_codel = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fq_codel_set_target() 207 if ((fq_codel = rtnl_tc_data(TC_CAST(qdisc))) && in rtnl_qdisc_fq_codel_get_target() 224 if (!(fq_codel = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fq_codel_set_interval() 242 if ((fq_codel = rtnl_tc_data(TC_CAST(qdisc))) && in rtnl_qdisc_fq_codel_get_interval() 259 if (!(fq_codel = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fq_codel_set_quantum() 277 if ((fq_codel = rtnl_tc_data(TC_CAST(qdisc))) && in rtnl_qdisc_fq_codel_get_quantum() 294 if (!(fq_codel = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fq_codel_set_flows() 312 if (!(fq_codel = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fq_codel_get_flows() [all …]
|
D | mqprio.c | 229 if (!(mqprio = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_mqprio_set_num_tc() 246 if (!(mqprio = rtnl_tc_data_peek(TC_CAST(qdisc)))) in rtnl_qdisc_mqprio_get_num_tc() 268 if (!(mqprio = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_mqprio_set_priomap() 298 if (!(mqprio = rtnl_tc_data_peek(TC_CAST(qdisc)))) in rtnl_qdisc_mqprio_get_priomap() 317 if (!(mqprio = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_mqprio_hw_offload() 342 if (!(mqprio = rtnl_tc_data_peek(TC_CAST(qdisc)))) in rtnl_qdisc_mqprio_get_hw_offload() 363 if (!(mqprio = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_mqprio_set_queue() 391 if (!(mqprio = rtnl_tc_data_peek(TC_CAST(qdisc)))) in rtnl_qdisc_mqprio_get_queue() 413 if (!(mqprio = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_mqprio_set_mode() 434 if (!(mqprio = rtnl_tc_data_peek(TC_CAST(qdisc)))) in rtnl_qdisc_mqprio_get_mode() [all …]
|
D | dsmark.c | 195 if (!(dsmark = rtnl_tc_data(TC_CAST(class)))) in rtnl_class_dsmark_set_bitmask() 213 if (!(dsmark = rtnl_tc_data(TC_CAST(class)))) in rtnl_class_dsmark_get_bitmask() 232 if (!(dsmark = rtnl_tc_data(TC_CAST(class)))) in rtnl_class_dsmark_set_value() 250 if (!(dsmark = rtnl_tc_data(TC_CAST(class)))) in rtnl_class_dsmark_get_value() 275 if (!(dsmark = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_dsmark_set_indices() 293 if (!(dsmark = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_dsmark_get_indices() 313 if (!(dsmark = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_dsmark_set_default_index() 331 if (!(dsmark = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_dsmark_get_default_index() 350 if (!(dsmark = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_dsmark_set_set_tc_index() 369 if (!(dsmark = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_dsmark_get_set_tc_index()
|
D | sfq.c | 118 if (!(sfq = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_sfq_set_quantum() 134 if (!(sfq = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_sfq_get_quantum() 153 if (!(sfq = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_sfq_set_limit() 169 if (!(sfq = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_sfq_get_limit() 189 if (!(sfq = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_sfq_set_perturb() 205 if (!(sfq = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_sfq_get_perturb() 223 if (!(sfq = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_sfq_get_divisor()
|
D | tbf.c | 182 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_set_limit() 223 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_set_limit_by_latency() 253 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_limit() 282 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_set_rate() 306 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_rate() 324 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_rate_bucket() 342 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_rate_cell() 365 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_set_peakrate() 391 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_peakrate() 409 if (!(tbf = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_tbf_get_peakrate_bucket() [all …]
|
D | plug.c | 98 if (!(plug = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_plug_buffer() 115 if (!(plug = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_plug_release_one() 132 if (!(plug = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_plug_release_indefinite() 149 if (!(plug = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_plug_set_limit()
|
D | prio.c | 133 if (!(prio = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_prio_set_bands() 149 if (!(prio = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_prio_get_bands() 171 if (!(prio = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_prio_set_priomap() 201 if (!(prio = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_prio_get_priomap()
|
D | fifo.c | 110 if (!(fifo = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fifo_set_limit() 128 if (!(fifo = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_qdisc_fifo_get_limit()
|
D | red.c | 140 if (!(red = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_red_set_limit() 156 if (!(red = rtnl_tc_data(TC_CAST(qdisc)))) in rtnl_red_get_limit()
|
/external/libnl/lib/route/ |
D | qdisc.c | 41 if ((err = rtnl_tc_msg_parse(n, TC_CAST(qdisc))) < 0) in qdisc_msg_parser() 71 tc = TC_CAST(nl_object_alloc(&qdisc_obj_ops)); in rtnl_qdisc_alloc() 98 return rtnl_tc_msg_build(TC_CAST(qdisc), type, flags, result); in build_qdisc_msg() 209 rtnl_tc_set_ifindex(TC_CAST(new), qdisc->q_ifindex); in rtnl_qdisc_build_update_request() 212 rtnl_tc_set_handle(TC_CAST(new), qdisc->q_handle); in rtnl_qdisc_build_update_request() 215 rtnl_tc_set_parent(TC_CAST(new), qdisc->q_parent); in rtnl_qdisc_build_update_request() 460 rtnl_tc_set_parent(TC_CAST(filter), qdisc->q_handle); in rtnl_qdisc_foreach_child() 461 rtnl_tc_set_ifindex(TC_CAST(filter), qdisc->q_ifindex); in rtnl_qdisc_foreach_child() 462 rtnl_tc_set_kind(TC_CAST(filter), qdisc->q_kind); in rtnl_qdisc_foreach_child() 483 rtnl_tc_set_ifindex(TC_CAST(filter), qdisc->q_ifindex); in rtnl_qdisc_foreach_cls() [all …]
|
D | class.c | 51 if ((err = rtnl_tc_msg_parse(nlh, TC_CAST(class))) < 0) in class_msg_parser() 81 tc = TC_CAST(nl_object_alloc(&class_obj_ops)); in rtnl_class_alloc() 113 return rtnl_tc_msg_build(TC_CAST(class), type, flags, result); in class_build() 425 rtnl_tc_set_parent(TC_CAST(filter), class->c_handle); in rtnl_class_foreach_child() 426 rtnl_tc_set_ifindex(TC_CAST(filter), class->c_ifindex); in rtnl_class_foreach_child() 427 rtnl_tc_set_kind(TC_CAST(filter), class->c_kind); in rtnl_class_foreach_child()
|
D | act.c | 81 struct rtnl_tc *tc = TC_CAST(act); in rtnl_act_fill_one() 185 tc = TC_CAST(nl_object_alloc(&act_obj_ops)); in rtnl_act_alloc() 421 tc = TC_CAST(act); in rtnl_act_parse() 472 struct rtnl_tc *tc = TC_CAST(*act); in rtnl_act_msg_parse()
|
D | tc.c | 796 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_free_data() 814 struct rtnl_tc *dst = TC_CAST(dstobj); in rtnl_tc_clone() 815 struct rtnl_tc *src = TC_CAST(srcobj); in rtnl_tc_clone() 887 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_dump_line() 921 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_dump_details() 943 struct rtnl_tc *tc = TC_CAST(obj); in rtnl_tc_dump_stats() 976 struct rtnl_tc *a = TC_CAST(aobj); in rtnl_tc_compare() 977 struct rtnl_tc *b = TC_CAST(bobj); in rtnl_tc_compare()
|
D | cls.c | 48 err = rtnl_tc_msg_build(TC_CAST(cls), type, flags, result); in cls_build() 69 tc = TC_CAST(nl_object_alloc(&cls_obj_ops)); in rtnl_cls_alloc() 387 if ((err = rtnl_tc_msg_parse(nlh, TC_CAST(cls))) < 0) in cls_msg_parser()
|
/external/libnl/lib/route/act/ |
D | vlan.c | 206 if (!(v = (struct rtnl_vlan *) rtnl_tc_data(TC_CAST(act)))) in rtnl_vlan_set_mode() 228 if (!(v = (struct rtnl_vlan *) rtnl_tc_data_peek(TC_CAST(act)))) in rtnl_vlan_get_mode() 248 if (!(v = (struct rtnl_vlan *) rtnl_tc_data(TC_CAST(act)))) in rtnl_vlan_set_action() 267 if (!(v = (struct rtnl_vlan *) rtnl_tc_data_peek(TC_CAST(act)))) in rtnl_vlan_get_action() 287 if (!(v = (struct rtnl_vlan *) rtnl_tc_data(TC_CAST(act)))) in rtnl_vlan_set_protocol() 306 if (!(v = (struct rtnl_vlan *) rtnl_tc_data_peek(TC_CAST(act)))) in rtnl_vlan_get_protocol() 326 if (!(v = (struct rtnl_vlan *) rtnl_tc_data(TC_CAST(act)))) in rtnl_vlan_set_vlan_id() 348 if (!(v = (struct rtnl_vlan *) rtnl_tc_data_peek(TC_CAST(act)))) in rtnl_vlan_get_vlan_id() 368 if (!(v = (struct rtnl_vlan *) rtnl_tc_data(TC_CAST(act)))) in rtnl_vlan_set_vlan_prio() 390 if (!(v = (struct rtnl_vlan *) rtnl_tc_data_peek(TC_CAST(act)))) in rtnl_vlan_get_vlan_prio()
|
D | skbedit.c | 166 if (!(u = (struct rtnl_skbedit *) rtnl_tc_data(TC_CAST(act)))) in rtnl_skbedit_set_action() 180 if (!(u = (struct rtnl_skbedit *) rtnl_tc_data(TC_CAST(act)))) in rtnl_skbedit_get_action() 189 if (!(u = (struct rtnl_skbedit *) rtnl_tc_data(TC_CAST(act)))) in rtnl_skbedit_set_queue_mapping() 201 u = (struct rtnl_skbedit *) rtnl_tc_data(TC_CAST(act)); in rtnl_skbedit_get_queue_mapping() 215 if (!(u = (struct rtnl_skbedit *) rtnl_tc_data(TC_CAST(act)))) in rtnl_skbedit_set_mark() 227 u = (struct rtnl_skbedit *) rtnl_tc_data(TC_CAST(act)); in rtnl_skbedit_get_mark() 241 if (!(u = (struct rtnl_skbedit *) rtnl_tc_data(TC_CAST(act)))) in rtnl_skbedit_set_priority() 253 u = (struct rtnl_skbedit *) rtnl_tc_data(TC_CAST(act)); in rtnl_skbedit_get_priority()
|
D | mirred.c | 135 if (!(u = (struct rtnl_mirred *) rtnl_tc_data(TC_CAST(act)))) in rtnl_mirred_set_action() 158 if (!(u = (struct rtnl_mirred *) rtnl_tc_data(TC_CAST(act)))) in rtnl_mirred_get_action() 167 if (!(u = (struct rtnl_mirred *) rtnl_tc_data(TC_CAST(act)))) in rtnl_mirred_set_ifindex() 178 if ((u = (struct rtnl_mirred *) rtnl_tc_data(TC_CAST(act)))) in rtnl_mirred_get_ifindex() 187 if (!(u = (struct rtnl_mirred *) rtnl_tc_data(TC_CAST(act)))) in rtnl_mirred_set_policy() 210 if (!(u = (struct rtnl_mirred *) rtnl_tc_data(TC_CAST(act)))) in rtnl_mirred_get_policy()
|
D | gact.c | 126 if (!(u = (struct rtnl_gact *) rtnl_tc_data(TC_CAST(act)))) in rtnl_gact_set_action() 150 if (!(u = (struct rtnl_gact *) rtnl_tc_data(TC_CAST(act)))) in rtnl_gact_get_action()
|
/external/libnl/lib/route/cls/ |
D | basic.c | 175 if (!(b = rtnl_tc_data(TC_CAST(cls)))) in rtnl_basic_set_target() 186 if (!(b = rtnl_tc_data(TC_CAST(cls)))) in rtnl_basic_get_target() 196 if (!(b = rtnl_tc_data(TC_CAST(cls)))) in rtnl_basic_set_ematch() 214 if (!(b = rtnl_tc_data(TC_CAST(cls)))) in rtnl_basic_get_ematch() 228 if (!(b = rtnl_tc_data(TC_CAST(cls)))) in rtnl_basic_add_action() 244 if (!(b = rtnl_tc_data_peek(TC_CAST(cls)))) in rtnl_basic_get_action() 261 if (!(b = rtnl_tc_data(TC_CAST(cls)))) in rtnl_basic_del_action()
|
D | mall.c | 48 if (!(mall = rtnl_tc_data(TC_CAST(cls)))) in rtnl_mall_set_classid() 61 if (!(mall = rtnl_tc_data_peek(TC_CAST(cls)))) in rtnl_mall_get_classid() 75 if (!(mall = rtnl_tc_data(TC_CAST(cls)))) in rtnl_mall_set_flags() 88 if (!(mall = rtnl_tc_data_peek(TC_CAST(cls)))) in rtnl_mall_get_flags() 106 if (!(mall = rtnl_tc_data(TC_CAST(cls)))) in rtnl_mall_append_action() 123 if (!(mall = rtnl_tc_data(TC_CAST(cls)))) in rtnl_mall_get_first_action() 143 if (!(mall = rtnl_tc_data(TC_CAST(cls)))) in rtnl_mall_del_action()
|
D | u32.c | 409 if (!(u = rtnl_tc_data(TC_CAST(cls)))) in rtnl_u32_set_classid() 422 if (!(u = rtnl_tc_data_peek(TC_CAST(cls)))) in rtnl_u32_get_classid() 436 if (!(u = (struct rtnl_u32 *) rtnl_tc_data(TC_CAST(cls)))) in rtnl_u32_set_divisor() 448 if (!(u = (struct rtnl_u32 *) rtnl_tc_data(TC_CAST(cls)))) in rtnl_u32_set_link() 460 if (!(u = (struct rtnl_u32 *) rtnl_tc_data(TC_CAST(cls)))) in rtnl_u32_set_hashtable() 475 if (!(u = (struct rtnl_u32 *) rtnl_tc_data(TC_CAST(cls)))) in rtnl_u32_set_hashmask() 494 if (!(u = (struct rtnl_u32 *) rtnl_tc_data(TC_CAST(cls)))) in rtnl_u32_set_selector() 515 if (!(u = (struct rtnl_u32 *) rtnl_tc_data(TC_CAST(cls)))) in rtnl_u32_set_cls_terminal() 534 if (!(u = rtnl_tc_data(TC_CAST(cls)))) in rtnl_u32_add_action() 550 if (!(u = rtnl_tc_data_peek(TC_CAST(cls)))) in rtnl_u32_get_action() [all …]
|
/external/libnl/src/ |
D | nl-tctree-list.c | 58 print_tc_childs(TC_CAST(class), (char *) arg + 2); in print_class() 74 rtnl_tc_set_parent(TC_CAST(filter), rtnl_tc_get_handle(tc)); in print_tc_childs() 75 rtnl_tc_set_ifindex(TC_CAST(filter), rtnl_tc_get_ifindex(tc)); in print_tc_childs() 91 print_tc_childs(TC_CAST(qdisc), (char *) arg + 2); in print_qdisc()
|