Searched refs:RTA_PAYLOAD (Results 1 - 25 of 57) sorted by relevance

123

/external/iproute2/tc/
H A Dq_dsmark.c138 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt));
140 if (!RTA_PAYLOAD(tb[TCA_DSMARK_MASK]))
146 if (!RTA_PAYLOAD(tb[TCA_DSMARK_VALUE]))
152 if (RTA_PAYLOAD(tb[TCA_DSMARK_INDICES]) < sizeof(__u16))
158 if (RTA_PAYLOAD(tb[TCA_DSMARK_DEFAULT_INDEX]) < sizeof(__u16))
H A Df_tcindex.c135 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash))
143 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask))
151 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift))
159 if (RTA_PAYLOAD(tb[TCA_TCINDEX_FALL_THROUGH]) <
H A Dq_multiq.c70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
H A Dq_atm.c201 if (RTA_PAYLOAD(tb[TCA_ATM_ADDR]) <
216 for (i = 0; i < RTA_PAYLOAD(tb[TCA_ATM_HDR]); i++)
224 if (RTA_PAYLOAD(tb[TCA_ATM_EXCESS]) < sizeof(excess))
241 if (RTA_PAYLOAD(tb[TCA_ATM_STATE]) < sizeof(state))
H A Dq_fifo.c68 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
H A Dtc.c57 if (opt && RTA_PAYLOAD(opt))
59 (unsigned) RTA_PAYLOAD(opt));
74 if (opt && RTA_PAYLOAD(opt))
76 fhandle, (unsigned) RTA_PAYLOAD(opt));
H A Dq_hfsc.c113 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
130 if (RTA_PAYLOAD(xstats) < sizeof(*st))
249 if (RTA_PAYLOAD(tb[TCA_HFSC_RSC]) < sizeof(*rsc))
255 if (RTA_PAYLOAD(tb[TCA_HFSC_FSC]) < sizeof(*fsc))
261 if (RTA_PAYLOAD(tb[TCA_HFSC_USC]) < sizeof(*usc))
H A Dq_sfb.c156 if (RTA_PAYLOAD(tb[TCA_SFB_PARMS]) < sizeof(*qopt))
180 if (RTA_PAYLOAD(xstats) < sizeof(*st))
H A Dtc_stab.c129 MIN(RTA_PAYLOAD(tb[TCA_STAB_BASE]), sizeof(s)));
149 dlen = RTA_PAYLOAD(tb[TCA_STAB_DATA]) / sizeof(__u16);
H A Dq_drr.c107 if (RTA_PAYLOAD(xstats) < sizeof(*x))
H A Dq_choke.c181 if (RTA_PAYLOAD(tb[TCA_CHOKE_PARMS]) < sizeof(*qopt))
184 RTA_PAYLOAD(tb[TCA_CHOKE_MAX_P]) >= sizeof(__u32))
212 if (RTA_PAYLOAD(xstats) < sizeof(*st))
H A Dq_red.c174 if (RTA_PAYLOAD(tb[TCA_RED_PARMS]) < sizeof(*qopt))
178 RTA_PAYLOAD(tb[TCA_RED_MAX_P]) >= sizeof(__u32))
210 if (RTA_PAYLOAD(xstats) < sizeof(*st))
H A Dq_sfq.c216 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
218 if (RTA_PAYLOAD(opt) >= sizeof(*qopt_ext))
263 if (RTA_PAYLOAD(xstats) < sizeof(*st))
H A Dq_netem.c505 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
523 if (RTA_PAYLOAD(tb[TCA_NETEM_CORR]) < sizeof(*cor))
528 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder))
533 if (RTA_PAYLOAD(tb[TCA_NETEM_CORRUPT]) < sizeof(*corrupt))
547 if (RTA_PAYLOAD(tb[TCA_NETEM_RATE]) < sizeof(*rate))
H A Dtc_util.c476 memcpy(&bs, RTA_DATA(tbs[TCA_STATS_BASIC]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_BASIC]), sizeof(bs)));
483 memcpy(&q, RTA_DATA(tbs[TCA_STATS_QUEUE]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_QUEUE]), sizeof(q)));
490 memcpy(&re, RTA_DATA(tbs[TCA_STATS_RATE_EST]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_RATE_EST]), sizeof(re)));
497 memcpy(&q, RTA_DATA(tbs[TCA_STATS_QUEUE]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_QUEUE]), sizeof(q)));
524 memcpy(&st, RTA_DATA(tb[TCA_STATS]), MIN(RTA_PAYLOAD(tb[TCA_STATS]), sizeof(st)));
H A Dq_cbq.c453 if (RTA_PAYLOAD(tb[TCA_CBQ_RATE]) < sizeof(*r))
459 if (RTA_PAYLOAD(tb[TCA_CBQ_LSSOPT]) < sizeof(*lss))
465 if (RTA_PAYLOAD(tb[TCA_CBQ_WRROPT]) < sizeof(*wrr))
471 if (RTA_PAYLOAD(tb[TCA_CBQ_FOPT]) < sizeof(*fopt))
477 if (RTA_PAYLOAD(tb[TCA_CBQ_OVL_STRATEGY]) < sizeof(*ovl))
479 (unsigned) RTA_PAYLOAD(tb[TCA_CBQ_OVL_STRATEGY]),
563 if (RTA_PAYLOAD(xstats) < sizeof(*st))
H A Dq_htb.c259 if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1;
292 if (RTA_PAYLOAD(tb[TCA_HTB_INIT]) < sizeof(*gopt)) return -1;
308 if (RTA_PAYLOAD(xstats) < sizeof(*st))
/external/iproute2/ip/
H A Diplink_vlan.c152 rem = RTA_PAYLOAD(attr);
183 RTA_PAYLOAD(tb[IFLA_VLAN_ID]) < sizeof(__u16))
189 if (RTA_PAYLOAD(tb[IFLA_VLAN_FLAGS]) < sizeof(*flags))
H A Diplink_macvlan.c79 RTA_PAYLOAD(tb[IFLA_MACVLAN_MODE]) < sizeof(__u32))
H A Diplink_macvtap.c76 RTA_PAYLOAD(tb[IFLA_MACVLAN_MODE]) < sizeof(__u32))
H A Diprule.c89 RTA_PAYLOAD(tb[FRA_SRC]),
96 RTA_PAYLOAD(tb[FRA_SRC]),
110 RTA_PAYLOAD(tb[FRA_DST]),
117 RTA_PAYLOAD(tb[FRA_DST]),
188 RTA_PAYLOAD(tb[RTA_GATEWAY]),
H A Dipxfrm.c706 XFRMA_ALG_AUTH, RTA_PAYLOAD(rta), fp, prefix);
712 RTA_PAYLOAD(rta), fp, prefix);
718 RTA_PAYLOAD(rta), fp, prefix);
724 XFRMA_ALG_CRYPT, RTA_PAYLOAD(rta), fp, prefix);
730 XFRMA_ALG_COMP, RTA_PAYLOAD(rta), fp, prefix);
741 if (RTA_PAYLOAD(tb[XFRMA_ENCAP]) < sizeof(*e)) {
773 RTA_PAYLOAD(rta), family, fp, prefix);
786 if (RTA_PAYLOAD(tb[XFRMA_COADDR]) < sizeof(*coa)) {
806 if (RTA_PAYLOAD(tb[XFRMA_LASTUSED]) < sizeof(lastused)) {
889 if (RTA_PAYLOAD(t
[all...]
/external/wpa_supplicant_8/hostapd/src/drivers/
H A Dpriv_netlink.h72 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) macro
/external/wpa_supplicant_8/src/drivers/
H A Dpriv_netlink.h72 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) macro
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/
H A Dpriv_netlink.h72 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) macro

Completed in 1912 milliseconds

123