Home | History | Annotate | Download | only in ip

Lines Matching refs:tb

357 	struct rtattr *tb[NDTA_MAX+1];
375 parse_rtattr(tb, NDTA_MAX, NDTA_RTA(ndtm),
378 if (tb[NDTA_NAME]) {
379 char *name = RTA_DATA(tb[NDTA_NAME]);
384 if (tb[NDTA_PARMS]) {
385 parse_rtattr(tpb, NDTPA_MAX, RTA_DATA(tb[NDTA_PARMS]),
386 RTA_PAYLOAD(tb[NDTA_PARMS]));
408 if (tb[NDTA_NAME]) {
409 char *name = RTA_DATA(tb[NDTA_NAME]);
415 ret = (tb[NDTA_THRESH1] || tb[NDTA_THRESH2] || tb[NDTA_THRESH3] ||
416 tb[NDTA_GC_INTERVAL]);
420 if (tb[NDTA_THRESH1]) {
421 __u32 thresh1 = *(__u32 *)RTA_DATA(tb[NDTA_THRESH1]);
424 if (tb[NDTA_THRESH2]) {
425 __u32 thresh2 = *(__u32 *)RTA_DATA(tb[NDTA_THRESH2]);
428 if (tb[NDTA_THRESH3]) {
429 __u32 thresh3 = *(__u32 *)RTA_DATA(tb[NDTA_THRESH3]);
432 if (tb[NDTA_GC_INTERVAL]) {
433 __u64 gc_int = *(__u64 *)RTA_DATA(tb[NDTA_GC_INTERVAL]);
440 if (tb[NDTA_CONFIG] && show_stats) {
441 struct ndt_config *ndtc = RTA_DATA(tb[NDTA_CONFIG]);
470 if (tb[NDTA_PARMS]) {
556 if (tb[NDTA_STATS] && show_stats) {
557 struct ndt_stats *ndts = RTA_DATA(tb[NDTA_STATS]);