Lines Matching refs:tb
120 struct nlattr *tb[TCA_POLICE_MAX + 1]; in tcf_act_police_locate() local
130 err = nla_parse_nested(tb, TCA_POLICE_MAX, nla, police_policy); in tcf_act_police_locate()
134 if (tb[TCA_POLICE_TBF] == NULL) in tcf_act_police_locate()
136 size = nla_len(tb[TCA_POLICE_TBF]); in tcf_act_police_locate()
139 parm = nla_data(tb[TCA_POLICE_TBF]); in tcf_act_police_locate()
167 R_tab = qdisc_get_rtab(&parm->rate, tb[TCA_POLICE_RATE]); in tcf_act_police_locate()
173 tb[TCA_POLICE_PEAKRATE]); in tcf_act_police_locate()
186 } else if (tb[TCA_POLICE_AVRATE] && in tcf_act_police_locate()
216 if (tb[TCA_POLICE_RESULT]) in tcf_act_police_locate()
217 police->tcfp_result = nla_get_u32(tb[TCA_POLICE_RESULT]); in tcf_act_police_locate()
227 if (tb[TCA_POLICE_AVRATE]) in tcf_act_police_locate()
228 police->tcfp_ewma_rate = nla_get_u32(tb[TCA_POLICE_AVRATE]); in tcf_act_police_locate()