/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/tc/ |
H A D | q_dsmark.c | 141 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 D | f_tcindex.c | 139 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 D | q_atm.c | 203 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 D | q_fifo.c | 70 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
|
H A D | tc.c | 48 if (opt && RTA_PAYLOAD(opt)) 50 (unsigned) RTA_PAYLOAD(opt)); 65 if (opt && RTA_PAYLOAD(opt)) 67 fhandle, (unsigned) RTA_PAYLOAD(opt));
|
H A D | q_hfsc.c | 109 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 D | q_red.c | 176 if (RTA_PAYLOAD(tb[TCA_RED_PARMS]) < sizeof(*qopt)) 201 if (RTA_PAYLOAD(xstats) < sizeof(*st))
|
H A D | q_prio.c | 105 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
|
H A D | q_sfq.c | 90 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
|
H A D | q_netem.c | 268 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 D | tc_util.c | 442 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 D | q_cbq.c | 428 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 D | q_htb.c | 254 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 D | em_meta.c | 450 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 D | iface-linux.c | 123 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 D | iprule.c | 84 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 D | ematch.c | 190 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 D | sch_netem.c | 344 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 D | act_ipt.c | 123 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 D | act_police.c | 153 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 D | sch_fifo.c | 61 if (RTA_PAYLOAD(opt) < sizeof(*ctl))
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/iproute2/include/ |
H A D | libnetlink.h | 46 (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 D | iprule.c | 84 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 D | rtnetlink.h | 132 #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 D | netlink.c | 74 rtapayload = RTA_PAYLOAD(rta); 152 rtapayload = RTA_PAYLOAD(rta); 163 size_t rtapayload1= RTA_PAYLOAD(rta1);
|