Lines Matching full:sizeof
74 memset(&qopt, 0, sizeof(qopt));
98 addattr_l(n, 1024, TCA_OPTIONS, &qopt, sizeof(qopt));
109 if (RTA_PAYLOAD(opt) < sizeof(*qopt))
126 if (RTA_PAYLOAD(xstats) < sizeof(*st))
149 memset(&rsc, 0, sizeof(rsc));
150 memset(&fsc, 0, sizeof(fsc));
151 memset(&usc, 0, sizeof(usc));
175 memcpy(&fsc, &rsc, sizeof(fsc));
212 addattr_l(n, 1024, TCA_HFSC_RSC, &rsc, sizeof(rsc));
214 addattr_l(n, 1024, TCA_HFSC_FSC, &fsc, sizeof(fsc));
216 addattr_l(n, 1024, TCA_HFSC_USC, &usc, sizeof(usc));
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))
265 memcmp(rsc, fsc, sizeof(*rsc)) == 0)