Lines Matching refs:tb
320 struct rtattr *tb[TCA_RSVP_MAX+1];
326 parse_rtattr_nested(tb, TCA_RSVP_MAX, opt);
331 if (tb[TCA_RSVP_PINFO]) {
332 if (RTA_PAYLOAD(tb[TCA_RSVP_PINFO]) < sizeof(*pinfo))
335 pinfo = RTA_DATA(tb[TCA_RSVP_PINFO]);
338 if (tb[TCA_RSVP_CLASSID]) {
341 fprintf(f, "flowid %s ", sprint_tc_classid(*(__u32*)RTA_DATA(tb[TCA_RSVP_CLASSID]), b1));
343 fprintf(f, "tunnel %d skip %d ", *(__u32*)RTA_DATA(tb[TCA_RSVP_CLASSID]), pinfo->tunnelhdr);
347 if (tb[TCA_RSVP_DST]) {
350 if (inet_ntop(family, RTA_DATA(tb[TCA_RSVP_DST]), buf, sizeof(buf)) == 0)
373 if (tb[TCA_RSVP_SRC]) {
376 if (inet_ntop(family, RTA_DATA(tb[TCA_RSVP_SRC]), buf, sizeof(buf)) == 0) {
390 if (tb[TCA_RSVP_POLICE])
391 tc_print_police(f, tb[TCA_RSVP_POLICE]);