/external/iproute2/tc/ |
H A D | q_dsmark.c | 138 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 D | f_tcindex.c | 135 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 D | q_multiq.c | 70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
|
H A D | q_atm.c | 201 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 D | q_fifo.c | 68 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
|
H A D | tc.c | 57 if (opt && RTA_PAYLOAD(opt)) 59 (unsigned) RTA_PAYLOAD(opt)); 74 if (opt && RTA_PAYLOAD(opt)) 76 fhandle, (unsigned) RTA_PAYLOAD(opt));
|
H A D | q_hfsc.c | 113 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 D | q_sfb.c | 156 if (RTA_PAYLOAD(tb[TCA_SFB_PARMS]) < sizeof(*qopt)) 180 if (RTA_PAYLOAD(xstats) < sizeof(*st))
|
H A D | tc_stab.c | 129 MIN(RTA_PAYLOAD(tb[TCA_STAB_BASE]), sizeof(s))); 149 dlen = RTA_PAYLOAD(tb[TCA_STAB_DATA]) / sizeof(__u16);
|
H A D | q_drr.c | 107 if (RTA_PAYLOAD(xstats) < sizeof(*x))
|
H A D | q_choke.c | 181 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 D | q_red.c | 174 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 D | q_sfq.c | 216 if (RTA_PAYLOAD(opt) < sizeof(*qopt)) 218 if (RTA_PAYLOAD(opt) >= sizeof(*qopt_ext)) 263 if (RTA_PAYLOAD(xstats) < sizeof(*st))
|
H A D | q_netem.c | 505 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 D | tc_util.c | 476 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 D | q_cbq.c | 453 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 D | q_htb.c | 259 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 D | iplink_vlan.c | 152 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 D | iplink_macvlan.c | 79 RTA_PAYLOAD(tb[IFLA_MACVLAN_MODE]) < sizeof(__u32))
|
H A D | iplink_macvtap.c | 76 RTA_PAYLOAD(tb[IFLA_MACVLAN_MODE]) < sizeof(__u32))
|
H A D | iprule.c | 89 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 D | ipxfrm.c | 706 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 D | priv_netlink.h | 72 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) macro
|
/external/wpa_supplicant_8/src/drivers/ |
H A D | priv_netlink.h | 72 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) macro
|
/external/wpa_supplicant_8/wpa_supplicant/src/drivers/ |
H A D | priv_netlink.h | 72 #define RTA_PAYLOAD(rta) ((int) ((rta)->rta_len) - RTA_LENGTH(0)) macro
|