Home
last modified time | relevance | path

Searched refs:MAX_MSG (Results 1 – 21 of 21) sorted by relevance

/external/iproute2/tc/
Dm_action.c185 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 …]
Dm_skbedit.c143 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()
Dm_police.c297 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()
Dm_xt.c224 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()
Dem_nbyte.c99 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()
Dm_xt_old.c313 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()
Dm_gact.c191 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()
Dm_ematch.c187 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()
Df_basic.c60 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()
Dm_ipt.c493 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()
Df_fw.c68 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()
Dem_u32.c145 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()
Dm_nat.c158 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()
Dem_meta.c156 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()
Dem_cmp.c137 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()
Dm_mirred.c198 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()
Df_u32.c686 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()
Df_cgroup.c44 addattr_l(n, MAX_MSG, TCA_OPTIONS, NULL, 0); in cgroup_parse_opt()
Dtc_util.h4 #define MAX_MSG 16384 macro
Dm_pedit.c542 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()
Dtc_filter.c53 char buf[MAX_MSG]; in tc_filter_modify()