Lines Matching refs:tb
122 struct rtattr *tb[TCA_HHF_MAX + 1]; in hhf_print_opt() local
136 parse_rtattr_nested(tb, TCA_HHF_MAX, opt); in hhf_print_opt()
138 if (tb[TCA_HHF_BACKLOG_LIMIT] && in hhf_print_opt()
139 RTA_PAYLOAD(tb[TCA_HHF_BACKLOG_LIMIT]) >= sizeof(__u32)) { in hhf_print_opt()
140 limit = rta_getattr_u32(tb[TCA_HHF_BACKLOG_LIMIT]); in hhf_print_opt()
143 if (tb[TCA_HHF_QUANTUM] && in hhf_print_opt()
144 RTA_PAYLOAD(tb[TCA_HHF_QUANTUM]) >= sizeof(__u32)) { in hhf_print_opt()
145 quantum = rta_getattr_u32(tb[TCA_HHF_QUANTUM]); in hhf_print_opt()
148 if (tb[TCA_HHF_HH_FLOWS_LIMIT] && in hhf_print_opt()
149 RTA_PAYLOAD(tb[TCA_HHF_HH_FLOWS_LIMIT]) >= sizeof(__u32)) { in hhf_print_opt()
150 hh_limit = rta_getattr_u32(tb[TCA_HHF_HH_FLOWS_LIMIT]); in hhf_print_opt()
153 if (tb[TCA_HHF_RESET_TIMEOUT] && in hhf_print_opt()
154 RTA_PAYLOAD(tb[TCA_HHF_RESET_TIMEOUT]) >= sizeof(__u32)) { in hhf_print_opt()
155 reset_timeout = rta_getattr_u32(tb[TCA_HHF_RESET_TIMEOUT]); in hhf_print_opt()
158 if (tb[TCA_HHF_ADMIT_BYTES] && in hhf_print_opt()
159 RTA_PAYLOAD(tb[TCA_HHF_ADMIT_BYTES]) >= sizeof(__u32)) { in hhf_print_opt()
160 admit_bytes = rta_getattr_u32(tb[TCA_HHF_ADMIT_BYTES]); in hhf_print_opt()
163 if (tb[TCA_HHF_EVICT_TIMEOUT] && in hhf_print_opt()
164 RTA_PAYLOAD(tb[TCA_HHF_EVICT_TIMEOUT]) >= sizeof(__u32)) { in hhf_print_opt()
165 evict_timeout = rta_getattr_u32(tb[TCA_HHF_EVICT_TIMEOUT]); in hhf_print_opt()
168 if (tb[TCA_HHF_NON_HH_WEIGHT] && in hhf_print_opt()
169 RTA_PAYLOAD(tb[TCA_HHF_NON_HH_WEIGHT]) >= sizeof(__u32)) { in hhf_print_opt()
170 non_hh_weight = rta_getattr_u32(tb[TCA_HHF_NON_HH_WEIGHT]); in hhf_print_opt()