Home
last modified time | relevance | path

Searched refs:RTA_PAYLOAD (Results 1 – 25 of 80) sorted by relevance

1234

/external/iproute2/tc/
Dq_fq.c243 RTA_PAYLOAD(tb[TCA_FQ_PLIMIT]) >= sizeof(__u32)) { in fq_print_opt()
248 RTA_PAYLOAD(tb[TCA_FQ_FLOW_PLIMIT]) >= sizeof(__u32)) { in fq_print_opt()
253 RTA_PAYLOAD(tb[TCA_FQ_BUCKETS_LOG]) >= sizeof(__u32)) { in fq_print_opt()
258 RTA_PAYLOAD(tb[TCA_FQ_ORPHAN_MASK]) >= sizeof(__u32)) { in fq_print_opt()
263 RTA_PAYLOAD(tb[TCA_FQ_RATE_ENABLE]) >= sizeof(int)) { in fq_print_opt()
269 RTA_PAYLOAD(tb[TCA_FQ_QUANTUM]) >= sizeof(__u32)) { in fq_print_opt()
274 RTA_PAYLOAD(tb[TCA_FQ_INITIAL_QUANTUM]) >= sizeof(__u32)) { in fq_print_opt()
279 RTA_PAYLOAD(tb[TCA_FQ_FLOW_MAX_RATE]) >= sizeof(__u32)) { in fq_print_opt()
286 RTA_PAYLOAD(tb[TCA_FQ_FLOW_DEFAULT_RATE]) >= sizeof(__u32)) { in fq_print_opt()
293 RTA_PAYLOAD(tb[TCA_FQ_LOW_RATE_THRESHOLD]) >= sizeof(__u32)) { in fq_print_opt()
[all …]
Dq_fq_codel.c175 RTA_PAYLOAD(tb[TCA_FQ_CODEL_LIMIT]) >= sizeof(__u32)) { in fq_codel_print_opt()
180 RTA_PAYLOAD(tb[TCA_FQ_CODEL_FLOWS]) >= sizeof(__u32)) { in fq_codel_print_opt()
185 RTA_PAYLOAD(tb[TCA_FQ_CODEL_QUANTUM]) >= sizeof(__u32)) { in fq_codel_print_opt()
190 RTA_PAYLOAD(tb[TCA_FQ_CODEL_TARGET]) >= sizeof(__u32)) { in fq_codel_print_opt()
195 RTA_PAYLOAD(tb[TCA_FQ_CODEL_CE_THRESHOLD]) >= sizeof(__u32)) { in fq_codel_print_opt()
200 RTA_PAYLOAD(tb[TCA_FQ_CODEL_INTERVAL]) >= sizeof(__u32)) { in fq_codel_print_opt()
205 RTA_PAYLOAD(tb[TCA_FQ_CODEL_MEMORY_LIMIT]) >= sizeof(__u32)) { in fq_codel_print_opt()
211 RTA_PAYLOAD(tb[TCA_FQ_CODEL_ECN]) >= sizeof(__u32)) { in fq_codel_print_opt()
231 if (RTA_PAYLOAD(xstats) < sizeof(*st)) { in fq_codel_print_xstats()
232 memcpy(&_st, st, RTA_PAYLOAD(xstats)); in fq_codel_print_xstats()
Dq_hhf.c139 RTA_PAYLOAD(tb[TCA_HHF_BACKLOG_LIMIT]) >= sizeof(__u32)) { in hhf_print_opt()
144 RTA_PAYLOAD(tb[TCA_HHF_QUANTUM]) >= sizeof(__u32)) { in hhf_print_opt()
149 RTA_PAYLOAD(tb[TCA_HHF_HH_FLOWS_LIMIT]) >= sizeof(__u32)) { in hhf_print_opt()
154 RTA_PAYLOAD(tb[TCA_HHF_RESET_TIMEOUT]) >= sizeof(__u32)) { in hhf_print_opt()
159 RTA_PAYLOAD(tb[TCA_HHF_ADMIT_BYTES]) >= sizeof(__u32)) { in hhf_print_opt()
164 RTA_PAYLOAD(tb[TCA_HHF_EVICT_TIMEOUT]) >= sizeof(__u32)) { in hhf_print_opt()
169 RTA_PAYLOAD(tb[TCA_HHF_NON_HH_WEIGHT]) >= sizeof(__u32)) { in hhf_print_opt()
184 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in hhf_print_xstats()
Dq_pie.c148 RTA_PAYLOAD(tb[TCA_PIE_LIMIT]) >= sizeof(__u32)) { in pie_print_opt()
153 RTA_PAYLOAD(tb[TCA_PIE_TARGET]) >= sizeof(__u32)) { in pie_print_opt()
158 RTA_PAYLOAD(tb[TCA_PIE_TUPDATE]) >= sizeof(__u32)) { in pie_print_opt()
163 RTA_PAYLOAD(tb[TCA_PIE_ALPHA]) >= sizeof(__u32)) { in pie_print_opt()
168 RTA_PAYLOAD(tb[TCA_PIE_BETA]) >= sizeof(__u32)) { in pie_print_opt()
173 if (tb[TCA_PIE_ECN] && RTA_PAYLOAD(tb[TCA_PIE_ECN]) >= sizeof(__u32)) { in pie_print_opt()
180 RTA_PAYLOAD(tb[TCA_PIE_BYTEMODE]) >= sizeof(__u32)) { in pie_print_opt()
197 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in pie_print_xstats()
Dq_codel.c146 RTA_PAYLOAD(tb[TCA_CODEL_LIMIT]) >= sizeof(__u32)) { in codel_print_opt()
151 RTA_PAYLOAD(tb[TCA_CODEL_TARGET]) >= sizeof(__u32)) { in codel_print_opt()
156 RTA_PAYLOAD(tb[TCA_CODEL_CE_THRESHOLD]) >= sizeof(__u32)) { in codel_print_opt()
161 RTA_PAYLOAD(tb[TCA_CODEL_INTERVAL]) >= sizeof(__u32)) { in codel_print_opt()
166 RTA_PAYLOAD(tb[TCA_CODEL_ECN]) >= sizeof(__u32)) { in codel_print_opt()
186 if (RTA_PAYLOAD(xstats) < sizeof(*st)) { in codel_print_xstats()
187 memcpy(&_st, st, RTA_PAYLOAD(xstats)); in codel_print_xstats()
Dq_dsmark.c131 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt)); in dsmark_print_opt()
133 if (!RTA_PAYLOAD(tb[TCA_DSMARK_MASK])) in dsmark_print_opt()
139 if (!RTA_PAYLOAD(tb[TCA_DSMARK_VALUE])) in dsmark_print_opt()
145 if (RTA_PAYLOAD(tb[TCA_DSMARK_INDICES]) < sizeof(__u16)) in dsmark_print_opt()
151 if (RTA_PAYLOAD(tb[TCA_DSMARK_DEFAULT_INDEX]) < sizeof(__u16)) in dsmark_print_opt()
Df_tcindex.c135 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash)) in tcindex_print_opt()
143 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask)) in tcindex_print_opt()
151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift)) in tcindex_print_opt()
159 if (RTA_PAYLOAD(tb[TCA_TCINDEX_FALL_THROUGH]) < in tcindex_print_opt()
Dq_htb.c284 if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1; in htb_print_opt()
294 RTA_PAYLOAD(tb[TCA_HTB_RATE64]) >= sizeof(rate64)) { in htb_print_opt()
300 RTA_PAYLOAD(tb[TCA_HTB_CEIL64]) >= sizeof(ceil64)) in htb_print_opt()
333 if (RTA_PAYLOAD(tb[TCA_HTB_INIT]) < sizeof(*gopt)) return -1; in htb_print_opt()
341 RTA_PAYLOAD(tb[TCA_HTB_DIRECT_QLEN]) >= sizeof(__u32)) { in htb_print_opt()
356 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in htb_print_xstats()
Dq_atm.c190 if (RTA_PAYLOAD(tb[TCA_ATM_ADDR]) < in atm_print_opt()
205 for (i = 0; i < RTA_PAYLOAD(tb[TCA_ATM_HDR]); i++) in atm_print_opt()
213 if (RTA_PAYLOAD(tb[TCA_ATM_EXCESS]) < sizeof(excess)) in atm_print_opt()
230 if (RTA_PAYLOAD(tb[TCA_ATM_STATE]) < sizeof(state)) in atm_print_opt()
Dm_ife.c271 len = RTA_PAYLOAD(metalist[IFE_META_SKBMARK]); in print_ife()
280 len = RTA_PAYLOAD(metalist[IFE_META_TCINDEX]); in print_ife()
290 len = RTA_PAYLOAD(metalist[IFE_META_PRIO]); in print_ife()
304 RTA_PAYLOAD(tb[TCA_IFE_DMAC]), 0, b2, in print_ife()
313 RTA_PAYLOAD(tb[TCA_IFE_SMAC]), 0, b2, in print_ife()
Dq_hfsc.c111 if (RTA_PAYLOAD(opt) < sizeof(*qopt)) in hfsc_print_opt()
128 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in hfsc_print_xstats()
241 if (RTA_PAYLOAD(tb[TCA_HFSC_RSC]) < sizeof(*rsc)) in hfsc_print_class_opt()
247 if (RTA_PAYLOAD(tb[TCA_HFSC_FSC]) < sizeof(*fsc)) in hfsc_print_class_opt()
253 if (RTA_PAYLOAD(tb[TCA_HFSC_USC]) < sizeof(*usc)) in hfsc_print_class_opt()
Dq_cbq.c453 if (RTA_PAYLOAD(tb[TCA_CBQ_RATE]) < sizeof(*r)) in cbq_print_opt()
459 if (RTA_PAYLOAD(tb[TCA_CBQ_LSSOPT]) < sizeof(*lss)) in cbq_print_opt()
465 if (RTA_PAYLOAD(tb[TCA_CBQ_WRROPT]) < sizeof(*wrr)) in cbq_print_opt()
471 if (RTA_PAYLOAD(tb[TCA_CBQ_FOPT]) < sizeof(*fopt)) in cbq_print_opt()
477 if (RTA_PAYLOAD(tb[TCA_CBQ_OVL_STRATEGY]) < sizeof(*ovl)) in cbq_print_opt()
479 (unsigned int) RTA_PAYLOAD(tb[TCA_CBQ_OVL_STRATEGY]), in cbq_print_opt()
570 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in cbq_print_xstats()
Dq_netem.c549 len = RTA_PAYLOAD(opt) - sizeof(qopt); in netem_print_opt()
563 if (RTA_PAYLOAD(tb[TCA_NETEM_CORR]) < sizeof(*cor)) in netem_print_opt()
568 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder)) in netem_print_opt()
573 if (RTA_PAYLOAD(tb[TCA_NETEM_CORRUPT]) < sizeof(*corrupt)) in netem_print_opt()
587 if (RTA_PAYLOAD(tb[TCA_NETEM_RATE]) < sizeof(*rate)) in netem_print_opt()
592 if (RTA_PAYLOAD(tb[TCA_NETEM_ECN]) < sizeof(*ecn)) in netem_print_opt()
597 if (RTA_PAYLOAD(tb[TCA_NETEM_RATE64]) < sizeof(rate64)) in netem_print_opt()
Dtc.c57 if (opt && RTA_PAYLOAD(opt)) in print_noqopt()
59 (unsigned int) RTA_PAYLOAD(opt)); in print_noqopt()
74 if (opt && RTA_PAYLOAD(opt)) in print_nofopt()
76 fhandle, (unsigned int) RTA_PAYLOAD(opt)); in print_nofopt()
Dq_choke.c179 if (RTA_PAYLOAD(tb[TCA_CHOKE_PARMS]) < sizeof(*qopt)) in choke_print_opt()
182 RTA_PAYLOAD(tb[TCA_CHOKE_MAX_P]) >= sizeof(__u32)) in choke_print_opt()
210 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in choke_print_xstats()
Dq_gred.c288 RTA_PAYLOAD(tb[TCA_GRED_MAX_P]) >= sizeof(__u32) * MAX_DPs) in gred_print_opt()
292 RTA_PAYLOAD(tb[TCA_GRED_LIMIT]) == sizeof(__u32)) in gred_print_opt()
297 if (RTA_PAYLOAD(tb[TCA_GRED_DPS]) < sizeof(*sopt) || in gred_print_opt()
298 RTA_PAYLOAD(tb[TCA_GRED_PARMS]) < sizeof(*qopt)*MAX_DPs) { in gred_print_opt()
Dq_red.c174 if (RTA_PAYLOAD(tb[TCA_RED_PARMS]) < sizeof(*qopt)) in red_print_opt()
178 RTA_PAYLOAD(tb[TCA_RED_MAX_P]) >= sizeof(__u32)) in red_print_opt()
210 if (RTA_PAYLOAD(xstats) < sizeof(*st)) in red_print_xstats()
Dtc_util.c722 memcpy(&bs, RTA_DATA(tbs[TCA_STATS_BASIC]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_BASIC]), sizeof(bs))); in print_tcstats2_attr()
730 memcpy(&q, RTA_DATA(tbs[TCA_STATS_QUEUE]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_QUEUE]), sizeof(q))); in print_tcstats2_attr()
739 MIN(RTA_PAYLOAD(tbs[TCA_STATS_RATE_EST64]), in print_tcstats2_attr()
747 MIN(RTA_PAYLOAD(tbs[TCA_STATS_RATE_EST]), sizeof(re))); in print_tcstats2_attr()
755 memcpy(&q, RTA_DATA(tbs[TCA_STATS_QUEUE]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_QUEUE]), sizeof(q))); in print_tcstats2_attr()
781 memcpy(&st, RTA_DATA(tb[TCA_STATS]), MIN(RTA_PAYLOAD(tb[TCA_STATS]), sizeof(st))); in print_tcstats_attr()
/external/iproute2/ip/
Diplink_hsr.c101 RTA_PAYLOAD(tb[IFLA_HSR_SLAVE1]) < sizeof(__u32)) in hsr_print_opt()
104 RTA_PAYLOAD(tb[IFLA_HSR_SLAVE2]) < sizeof(__u32)) in hsr_print_opt()
107 RTA_PAYLOAD(tb[IFLA_HSR_SEQ_NR]) < sizeof(__u16)) in hsr_print_opt()
110 RTA_PAYLOAD(tb[IFLA_HSR_SUPERVISION_ADDR]) < ETH_ALEN) in hsr_print_opt()
140 RTA_PAYLOAD(tb[IFLA_HSR_SUPERVISION_ADDR]), in hsr_print_opt()
Diplink_macvlan.c192 RTA_PAYLOAD(tb[IFLA_MACVLAN_MODE]) < sizeof(__u32)) in macvlan_print_opt()
207 RTA_PAYLOAD(tb[IFLA_MACVLAN_FLAGS]) < sizeof(__u16)) in macvlan_print_opt()
221 RTA_PAYLOAD(tb[IFLA_MACVLAN_MACADDR_COUNT]) < sizeof(__u32)) in macvlan_print_opt()
231 len = RTA_PAYLOAD(tb[IFLA_MACVLAN_MACADDR_DATA]); in macvlan_print_opt()
236 RTA_PAYLOAD(rta) < 6) in macvlan_print_opt()
Diplink_ipoib.c91 RTA_PAYLOAD(tb[IFLA_IPOIB_PKEY]) < sizeof(__u16)) in ipoib_print_opt()
106 RTA_PAYLOAD(tb[IFLA_IPOIB_MODE]) < sizeof(__u16)) in ipoib_print_opt()
118 RTA_PAYLOAD(tb[IFLA_IPOIB_UMCAST]) < sizeof(__u16)) in ipoib_print_opt()
Diplink_vlan.c179 rem = RTA_PAYLOAD(attr); in vlan_print_map()
224 RTA_PAYLOAD(tb[IFLA_VLAN_PROTOCOL]) < sizeof(__u16)) in vlan_print_opt()
227 RTA_PAYLOAD(tb[IFLA_VLAN_ID]) < sizeof(__u16)) in vlan_print_opt()
246 if (RTA_PAYLOAD(tb[IFLA_VLAN_FLAGS]) < sizeof(*flags)) in vlan_print_opt()
Dipxfrm.c703 XFRMA_ALG_AUTH, RTA_PAYLOAD(rta), fp, prefix); in xfrm_xfrma_print()
710 RTA_PAYLOAD(rta), fp, prefix); in xfrm_xfrma_print()
717 RTA_PAYLOAD(rta), fp, prefix); in xfrm_xfrma_print()
724 XFRMA_ALG_CRYPT, RTA_PAYLOAD(rta), fp, prefix); in xfrm_xfrma_print()
731 XFRMA_ALG_COMP, RTA_PAYLOAD(rta), fp, prefix); in xfrm_xfrma_print()
741 if (RTA_PAYLOAD(tb[XFRMA_ENCAP]) < sizeof(*e)) { in xfrm_xfrma_print()
772 RTA_PAYLOAD(rta), fp, prefix); in xfrm_xfrma_print()
783 if (RTA_PAYLOAD(tb[XFRMA_COADDR]) < sizeof(*coa)) { in xfrm_xfrma_print()
801 if (RTA_PAYLOAD(tb[XFRMA_LASTUSED]) < sizeof(lastused)) { in xfrm_xfrma_print()
820 if (RTA_PAYLOAD(tb[XFRMA_REPLAY_VAL]) < sizeof(*replay)) { in xfrm_xfrma_print()
[all …]
Dtcp_metrics.c123 dlen = RTA_PAYLOAD(a); in process_msg()
132 dlen = RTA_PAYLOAD(a); in process_msg()
144 slen = RTA_PAYLOAD(a); in process_msg()
152 slen = RTA_PAYLOAD(a); in process_msg()
285 int i, max = RTA_PAYLOAD(a); in process_msg()
/external/iproute2/bridge/
Dmdb.c52 RTA_PAYLOAD(pattr) - RTA_ALIGN(sizeof(uint32_t))); in __print_router_port_stats()
85 rem = RTA_PAYLOAD(attr); in br_print_router_ports()
211 rem = RTA_PAYLOAD(attr); in br_print_mdb_entry()
215 RTA_PAYLOAD(i) - RTA_ALIGN(sizeof(*e))); in br_print_mdb_entry()
246 int rem = RTA_PAYLOAD(tb[MDBA_MDB]); in print_mdb()

1234