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

123

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/tc/
H A Dq_dsmark.c141 parse_rtattr(tb, TCA_DSMARK_MAX, RTA_DATA(opt), RTA_PAYLOAD(opt));
143 if (!RTA_PAYLOAD(tb[TCA_DSMARK_MASK]))
149 if (!RTA_PAYLOAD(tb[TCA_DSMARK_VALUE]))
155 if (RTA_PAYLOAD(tb[TCA_DSMARK_INDICES]) < sizeof(__u16))
161 if (RTA_PAYLOAD(tb[TCA_DSMARK_DEFAULT_INDEX]) < sizeof(__u16))
H A Df_tcindex.c139 if (RTA_PAYLOAD(tb[TCA_TCINDEX_HASH]) < sizeof(hash))
147 if (RTA_PAYLOAD(tb[TCA_TCINDEX_MASK]) < sizeof(mask))
155 if (RTA_PAYLOAD(tb[TCA_TCINDEX_SHIFT]) < sizeof(shift))
163 if (RTA_PAYLOAD(tb[TCA_TCINDEX_FALL_THROUGH]) <
H A Dq_atm.c203 if (RTA_PAYLOAD(tb[TCA_ATM_ADDR]) <
217 for (i = 0; i < RTA_PAYLOAD(tb[TCA_ATM_HDR]); i++)
226 if (RTA_PAYLOAD(tb[TCA_ATM_EXCESS]) < sizeof(excess))
243 if (RTA_PAYLOAD(tb[TCA_ATM_STATE]) < sizeof(state))
H A Dq_fifo.c70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
H A Dtc.c48 if (opt && RTA_PAYLOAD(opt))
50 (unsigned) RTA_PAYLOAD(opt));
65 if (opt && RTA_PAYLOAD(opt))
67 fhandle, (unsigned) RTA_PAYLOAD(opt));
H A Dq_hfsc.c109 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
126 if (RTA_PAYLOAD(xstats) < sizeof(*st))
245 if (RTA_PAYLOAD(tb[TCA_HFSC_RSC]) < sizeof(*rsc))
251 if (RTA_PAYLOAD(tb[TCA_HFSC_FSC]) < sizeof(*fsc))
257 if (RTA_PAYLOAD(tb[TCA_HFSC_USC]) < sizeof(*usc))
H A Dq_red.c176 if (RTA_PAYLOAD(tb[TCA_RED_PARMS]) < sizeof(*qopt))
201 if (RTA_PAYLOAD(xstats) < sizeof(*st))
H A Dq_prio.c105 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
H A Dq_sfq.c90 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
H A Dq_netem.c268 int len = RTA_PAYLOAD(opt) - sizeof(qopt);
286 if (RTA_PAYLOAD(tb[TCA_NETEM_CORR]) < sizeof(*cor))
291 if (RTA_PAYLOAD(tb[TCA_NETEM_REORDER]) < sizeof(*reorder))
H A Dtc_util.c442 memcpy(&bs, RTA_DATA(tbs[TCA_STATS_BASIC]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_BASIC]), sizeof(bs)));
449 memcpy(&q, RTA_DATA(tbs[TCA_STATS_QUEUE]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_QUEUE]), sizeof(q)));
456 memcpy(&re, RTA_DATA(tbs[TCA_STATS_RATE_EST]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_RATE_EST]), sizeof(re)));
463 memcpy(&q, RTA_DATA(tbs[TCA_STATS_QUEUE]), MIN(RTA_PAYLOAD(tbs[TCA_STATS_QUEUE]), sizeof(q)));
490 memcpy(&st, RTA_DATA(tb[TCA_STATS]), MIN(RTA_PAYLOAD(tb[TCA_STATS]), sizeof(st)));
H A Dq_cbq.c428 if (RTA_PAYLOAD(tb[TCA_CBQ_RATE]) < sizeof(*r))
434 if (RTA_PAYLOAD(tb[TCA_CBQ_LSSOPT]) < sizeof(*lss))
440 if (RTA_PAYLOAD(tb[TCA_CBQ_WRROPT]) < sizeof(*wrr))
446 if (RTA_PAYLOAD(tb[TCA_CBQ_FOPT]) < sizeof(*fopt))
452 if (RTA_PAYLOAD(tb[TCA_CBQ_OVL_STRATEGY]) < sizeof(*ovl))
454 (unsigned) RTA_PAYLOAD(tb[TCA_CBQ_OVL_STRATEGY]),
536 if (RTA_PAYLOAD(xstats) < sizeof(*st))
H A Dq_htb.c254 if (RTA_PAYLOAD(tb[TCA_HTB_PARMS]) < sizeof(*hopt)) return -1;
287 if (RTA_PAYLOAD(tb[TCA_HTB_INIT]) < sizeof(*gopt)) return -1;
303 if (RTA_PAYLOAD(xstats) < sizeof(*st))
H A Dem_meta.c450 if (RTA_PAYLOAD(rta) < sizeof(__u32)) {
459 print_binary(fd, RTA_DATA(rta), RTA_PAYLOAD(rta));
488 if (RTA_PAYLOAD(rta) < sizeof(__u32))
519 if (RTA_PAYLOAD(tb[TCA_EM_META_HDR]) < sizeof(*meta_hdr)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-core/
H A Diface-linux.c123 hw->name = avahi_strndup(RTA_DATA(a), RTA_PAYLOAD(a));
129 assert(RTA_PAYLOAD(a) == sizeof(unsigned int));
136 hw->mac_address_size = RTA_PAYLOAD(a);
211 if ((raddr.proto == AVAHI_PROTO_INET6 && RTA_PAYLOAD(a) != 16) ||
212 (raddr.proto == AVAHI_PROTO_INET && RTA_PAYLOAD(a) != 4))
215 memcpy(raddr.data.data, RTA_DATA(a), RTA_PAYLOAD(a));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/networking/libiproute/
H A Diprule.c84 RTA_PAYLOAD(tb[RTA_SRC]),
91 RTA_PAYLOAD(tb[RTA_SRC]),
106 RTA_PAYLOAD(tb[RTA_DST]),
113 RTA_PAYLOAD(tb[RTA_DST]),
151 RTA_PAYLOAD(tb[RTA_GATEWAY]),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sched/
H A Dematch.c190 int data_len = RTA_PAYLOAD(rta) - sizeof(*em_hdr);
311 if (RTA_PAYLOAD(rt_hdr) < sizeof(*tree_hdr) ||
312 RTA_PAYLOAD(rt_list) < sizeof(*rt_match))
319 list_len = RTA_PAYLOAD(rt_list);
343 if (RTA_PAYLOAD(rt_match) < sizeof(struct tcf_ematch_hdr))
H A Dsch_netem.c344 unsigned long n = RTA_PAYLOAD(attr)/sizeof(__s16);
373 if (RTA_PAYLOAD(attr) != sizeof(*c))
387 if (RTA_PAYLOAD(attr) != sizeof(*r))
400 if (RTA_PAYLOAD(attr) != sizeof(*r))
415 if (opt == NULL || RTA_PAYLOAD(opt) < sizeof(*qopt))
442 if (RTA_PAYLOAD(opt) > sizeof(*qopt)) {
446 RTA_PAYLOAD(opt) - sizeof(*qopt)))
526 if (RTA_PAYLOAD(opt) < sizeof(*ctl))
H A Dact_ipt.c123 RTA_PAYLOAD(tb[TCA_IPT_HOOK-1]) < sizeof(u32))
126 RTA_PAYLOAD(tb[TCA_IPT_TARG-1]) < sizeof(*t))
129 if (RTA_PAYLOAD(tb[TCA_IPT_TARG-1]) < td->u.target_size)
133 RTA_PAYLOAD(tb[TCA_IPT_INDEX-1]) >= sizeof(u32))
H A Dact_police.c153 size = RTA_PAYLOAD(tb[TCA_POLICE_TBF-1]);
159 RTA_PAYLOAD(tb[TCA_POLICE_RESULT-1]) != sizeof(u32))
162 RTA_PAYLOAD(tb[TCA_POLICE_RESULT-1]) != sizeof(u32))
439 size = RTA_PAYLOAD(tb[TCA_POLICE_TBF-1]);
476 if (RTA_PAYLOAD(tb[TCA_POLICE_RESULT-1]) != sizeof(u32))
482 if (RTA_PAYLOAD(tb[TCA_POLICE_AVRATE-1]) != sizeof(u32))
H A Dsch_fifo.c61 if (RTA_PAYLOAD(opt) < sizeof(*ctl))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/include/
H A Dlibnetlink.h46 (parse_rtattr((tb), (max), RTA_DATA(rta), RTA_PAYLOAD(rta)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/ip/
H A Diprule.c84 RTA_PAYLOAD(tb[RTA_SRC]),
91 RTA_PAYLOAD(tb[RTA_SRC]),
105 RTA_PAYLOAD(tb[RTA_DST]),
112 RTA_PAYLOAD(tb[RTA_DST]),
151 RTA_PAYLOAD(tb[RTA_GATEWAY]),
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Drtnetlink.h132 #define RTA_PAYLOAD(rta) ((int)((rta)->rta_len) - RTA_LENGTH(0)) macro
575 rtattr_parse((tb), (max), RTA_DATA((rta)), RTA_PAYLOAD((rta)))
647 ({ if (!rta || RTA_PAYLOAD(rta) < sizeof(u8)) \
652 ({ if (!rta || RTA_PAYLOAD(rta) < sizeof(u16)) \
657 ({ if (!rta || RTA_PAYLOAD(rta) < sizeof(u32)) \
663 if (!rta || RTA_PAYLOAD(rta) < sizeof(u64)) \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/dhcp6/
H A Dnetlink.c74 rtapayload = RTA_PAYLOAD(rta);
152 rtapayload = RTA_PAYLOAD(rta);
163 size_t rtapayload1= RTA_PAYLOAD(rta1);

Completed in 223 milliseconds

123