/external/iproute2/tc/ |
D | m_action.c | 185 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_action() 224 addattr_l(n, MAX_MSG, ++prio, NULL, 0); in parse_action() 225 addattr_l(n, MAX_MSG, TCA_ACT_KIND, k, strlen(k) + 1); in parse_action() 388 char buf[MAX_MSG]; in tc_action_gd() 406 addattr_l(&req.n, MAX_MSG, TCA_ACT_TAB, NULL, 0); in tc_action_gd() 454 addattr_l(&req.n, MAX_MSG, ++prio, NULL, 0); in tc_action_gd() 455 addattr_l(&req.n, MAX_MSG, TCA_ACT_KIND, k, strlen(k) + 1); in tc_action_gd() 456 addattr32(&req.n, MAX_MSG, TCA_ACT_INDEX, i); in tc_action_gd() 493 char buf[MAX_MSG]; in tc_action_modify() 532 char buf[MAX_MSG]; in tc_act_list_or_flush() [all …]
|
D | m_skbedit.c | 143 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_skbedit() 144 addattr_l(n, MAX_MSG, TCA_SKBEDIT_PARMS, &sel, sizeof(sel)); in parse_skbedit() 146 addattr_l(n, MAX_MSG, TCA_SKBEDIT_QUEUE_MAPPING, in parse_skbedit() 149 addattr_l(n, MAX_MSG, TCA_SKBEDIT_PRIORITY, in parse_skbedit() 152 addattr_l(n, MAX_MSG, TCA_SKBEDIT_MARK, in parse_skbedit()
|
D | m_police.c | 297 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in act_parse_police() 298 addattr_l(n, MAX_MSG, TCA_POLICE_TBF, &p, sizeof(p)); in act_parse_police() 300 addattr_l(n, MAX_MSG, TCA_POLICE_RATE, rtab, 1024); in act_parse_police() 302 addattr_l(n, MAX_MSG, TCA_POLICE_PEAKRATE, ptab, 1024); in act_parse_police() 304 addattr32(n, MAX_MSG, TCA_POLICE_AVRATE, avrate); in act_parse_police() 306 addattr32(n, MAX_MSG, TCA_POLICE_RESULT, presult); in act_parse_police()
|
D | m_xt.c | 224 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_ipt() 240 addattr_l(n, MAX_MSG, TCA_IPT_TABLE, k, size); in parse_ipt() 241 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4); in parse_ipt() 242 addattr_l(n, MAX_MSG, TCA_IPT_INDEX, &index, 4); in parse_ipt() 244 addattr_l(n, MAX_MSG, TCA_IPT_TARG, m->t, m->t->u.target_size); in parse_ipt()
|
D | em_nbyte.c | 99 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); in nbyte_parse_eopt() 100 addraw_l(n, MAX_MSG, &nb, sizeof(nb)); in nbyte_parse_eopt() 101 addraw_l(n, MAX_MSG, needle->data, needle->len); in nbyte_parse_eopt()
|
D | m_xt_old.c | 313 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_ipt() 329 addattr_l(n, MAX_MSG, TCA_IPT_TABLE, k, size); in parse_ipt() 330 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4); in parse_ipt() 331 addattr_l(n, MAX_MSG, TCA_IPT_INDEX, &index, 4); in parse_ipt() 333 addattr_l(n, MAX_MSG, TCA_IPT_TARG, m->t, m->t->u.target_size); in parse_ipt()
|
D | m_gact.c | 191 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_gact() 192 addattr_l(n, MAX_MSG, TCA_GACT_PARMS, &p, sizeof (p)); in parse_gact() 195 addattr_l(n, MAX_MSG, TCA_GACT_PROB, &pp, sizeof (pp)); in parse_gact()
|
D | m_ematch.c | 187 addattr_l(n, MAX_MSG, index++, NULL, 0); in parse_tree() 191 addraw_l(n, MAX_MSG, &hdr, sizeof(hdr)); in parse_tree() 192 addraw_l(n, MAX_MSG, &r, sizeof(r)); in parse_tree() 347 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_ematch() 348 addattr_l(n, MAX_MSG, TCA_EMATCH_TREE_HDR, &hdr, sizeof(hdr)); in parse_ematch() 351 addattr_l(n, MAX_MSG, TCA_EMATCH_TREE_LIST, NULL, 0); in parse_ematch()
|
D | f_basic.c | 60 addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0); in basic_parse_opt() 78 addattr_l(n, MAX_MSG, TCA_BASIC_CLASSID, &handle, 4); in basic_parse_opt()
|
D | m_ipt.c | 493 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_ipt() 509 addattr_l(n, MAX_MSG, TCA_IPT_TABLE, k, size); in parse_ipt() 510 addattr_l(n, MAX_MSG, TCA_IPT_HOOK, &hook, 4); in parse_ipt() 511 addattr_l(n, MAX_MSG, TCA_IPT_INDEX, &index, 4); in parse_ipt() 513 addattr_l(n, MAX_MSG, TCA_IPT_TARG, m->t, m->t->u.target_size); in parse_ipt()
|
D | f_fw.c | 68 addattr32(n, MAX_MSG, TCA_FW_MASK, mask); in fw_parse_opt() 104 addattr_l(n, MAX_MSG, TCA_FW_INDEV, d, strlen(d) + 1); in fw_parse_opt()
|
D | em_u32.c | 145 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); in u32_parse_eopt() 146 addraw_l(n, MAX_MSG, &u_key, sizeof(u_key)); in u32_parse_eopt()
|
D | m_nat.c | 158 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_nat() 159 addattr_l(n, MAX_MSG, TCA_NAT_PARMS, &sel, sizeof(sel)); in parse_nat()
|
D | em_meta.c | 156 addattr_l(n, MAX_MSG, tlv, &t, sizeof(t)); in dump_value() 162 addattr_l(n, MAX_MSG, tlv, a->data, a->len); in dump_value() 404 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); in meta_parse_eopt() 406 addattr_l(n, MAX_MSG, TCA_EM_META_HDR, &meta_hdr, sizeof(meta_hdr)); in meta_parse_eopt()
|
D | em_cmp.c | 137 addraw_l(n, MAX_MSG, hdr, sizeof(*hdr)); in cmp_parse_eopt() 138 addraw_l(n, MAX_MSG, &cmp, sizeof(cmp)); in cmp_parse_eopt()
|
D | m_mirred.c | 198 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_egress() 199 addattr_l(n, MAX_MSG, TCA_MIRRED_PARMS, &p, sizeof (p)); in parse_egress()
|
D | f_u32.c | 686 addattr_l(n, MAX_MSG, TCA_U32_MARK, &mark, sizeof(mark)); in parse_mark() 999 addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0); in u32_parse_opt() 1032 addattr_l(n, MAX_MSG, TCA_U32_CLASSID, &handle, 4); in u32_parse_opt() 1043 addattr_l(n, MAX_MSG, TCA_U32_DIVISOR, &divisor, 4); in u32_parse_opt() 1061 addattr_l(n, MAX_MSG, TCA_U32_LINK, &handle, 4); in u32_parse_opt() 1121 addattr_l(n, MAX_MSG, TCA_U32_INDEV, ind, strlen(ind) + 1); in u32_parse_opt() 1164 addattr_l(n, MAX_MSG, TCA_U32_HASH, &htid, 4); in u32_parse_opt() 1166 addattr_l(n, MAX_MSG, TCA_U32_SEL, &sel, in u32_parse_opt()
|
D | f_cgroup.c | 44 addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0); in cgroup_parse_opt()
|
D | tc_util.h | 4 #define MAX_MSG 16384 macro
|
D | m_pedit.c | 542 addattr_l(n, MAX_MSG, tca_id, NULL, 0); in parse_pedit() 543 …addattr_l(n, MAX_MSG, TCA_PEDIT_PARMS,&sel, sizeof(sel.sel)+sel.sel.nkeys*sizeof(struct tc_pedit_k… in parse_pedit()
|
D | tc_filter.c | 53 char buf[MAX_MSG]; in tc_filter_modify()
|