Lines Matching defs:tb
319 struct rtattr *tb[TCA_RSVP_MAX+1];
325 parse_rtattr_nested(tb, TCA_RSVP_MAX, opt);
330 if (tb[TCA_RSVP_PINFO]) {
331 if (RTA_PAYLOAD(tb[TCA_RSVP_PINFO]) < sizeof(*pinfo))
334 pinfo = RTA_DATA(tb[TCA_RSVP_PINFO]);
337 if (tb[TCA_RSVP_CLASSID]) {
340 fprintf(f, "flowid %s ", sprint_tc_classid(*(__u32*)RTA_DATA(tb[TCA_RSVP_CLASSID]), b1));
342 fprintf(f, "tunnel %d skip %d ", *(__u32*)RTA_DATA(tb[TCA_RSVP_CLASSID]), pinfo->tunnelhdr);
346 if (tb[TCA_RSVP_DST]) {
349 if (inet_ntop(family, RTA_DATA(tb[TCA_RSVP_DST]), buf, sizeof(buf)) == 0)
372 if (tb[TCA_RSVP_SRC]) {
375 if (inet_ntop(family, RTA_DATA(tb[TCA_RSVP_SRC]), buf, sizeof(buf)) == 0) {
389 if (tb[TCA_RSVP_POLICE])
390 tc_print_police(f, tb[TCA_RSVP_POLICE]);