Home | History | Annotate | Download | only in tc

Lines Matching defs:tb

318 	struct rtattr *tb[TCA_RSVP_MAX+1];
324 parse_rtattr_nested(tb, TCA_RSVP_MAX, opt);
329 if (tb[TCA_RSVP_PINFO]) {
330 if (RTA_PAYLOAD(tb[TCA_RSVP_PINFO]) < sizeof(*pinfo))
333 pinfo = RTA_DATA(tb[TCA_RSVP_PINFO]);
336 if (tb[TCA_RSVP_CLASSID]) {
339 fprintf(f, "flowid %s ", sprint_tc_classid(rta_getattr_u32(tb[TCA_RSVP_CLASSID]), b1));
341 fprintf(f, "tunnel %d skip %d ", rta_getattr_u32(tb[TCA_RSVP_CLASSID]), pinfo->tunnelhdr);
345 if (tb[TCA_RSVP_DST]) {
348 if (inet_ntop(family, RTA_DATA(tb[TCA_RSVP_DST]), buf, sizeof(buf)) == 0)
371 if (tb[TCA_RSVP_SRC]) {
374 if (inet_ntop(family, RTA_DATA(tb[TCA_RSVP_SRC]), buf, sizeof(buf)) == 0) {
388 if (tb[TCA_RSVP_POLICE])
389 tc_print_police(f, tb[TCA_RSVP_POLICE]);