Lines Matching refs:tb
370 static void bond_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bond_print_opt() argument
374 if (!tb) in bond_print_opt()
377 if (tb[IFLA_BOND_MODE]) { in bond_print_opt()
379 rta_getattr_u8(tb[IFLA_BOND_MODE])); in bond_print_opt()
383 if (tb[IFLA_BOND_ACTIVE_SLAVE] && in bond_print_opt()
384 (ifindex = rta_getattr_u32(tb[IFLA_BOND_ACTIVE_SLAVE]))) { in bond_print_opt()
400 if (tb[IFLA_BOND_MIIMON]) in bond_print_opt()
404 rta_getattr_u32(tb[IFLA_BOND_MIIMON])); in bond_print_opt()
406 if (tb[IFLA_BOND_UPDELAY]) in bond_print_opt()
410 rta_getattr_u32(tb[IFLA_BOND_UPDELAY])); in bond_print_opt()
412 if (tb[IFLA_BOND_DOWNDELAY]) in bond_print_opt()
416 rta_getattr_u32(tb[IFLA_BOND_DOWNDELAY])); in bond_print_opt()
418 if (tb[IFLA_BOND_USE_CARRIER]) in bond_print_opt()
422 rta_getattr_u8(tb[IFLA_BOND_USE_CARRIER])); in bond_print_opt()
424 if (tb[IFLA_BOND_ARP_INTERVAL]) in bond_print_opt()
428 rta_getattr_u32(tb[IFLA_BOND_ARP_INTERVAL])); in bond_print_opt()
430 if (tb[IFLA_BOND_ARP_IP_TARGET]) { in bond_print_opt()
435 tb[IFLA_BOND_ARP_IP_TARGET]); in bond_print_opt()
460 if (tb[IFLA_BOND_ARP_VALIDATE]) { in bond_print_opt()
461 __u32 arp_v = rta_getattr_u32(tb[IFLA_BOND_ARP_VALIDATE]); in bond_print_opt()
473 if (tb[IFLA_BOND_ARP_ALL_TARGETS]) { in bond_print_opt()
475 rta_getattr_u32(tb[IFLA_BOND_ARP_ALL_TARGETS])); in bond_print_opt()
482 if (tb[IFLA_BOND_PRIMARY] && in bond_print_opt()
483 (ifindex = rta_getattr_u32(tb[IFLA_BOND_PRIMARY]))) { in bond_print_opt()
496 if (tb[IFLA_BOND_PRIMARY_RESELECT]) { in bond_print_opt()
498 rta_getattr_u8(tb[IFLA_BOND_PRIMARY_RESELECT])); in bond_print_opt()
505 if (tb[IFLA_BOND_FAIL_OVER_MAC]) { in bond_print_opt()
507 rta_getattr_u8(tb[IFLA_BOND_FAIL_OVER_MAC])); in bond_print_opt()
514 if (tb[IFLA_BOND_XMIT_HASH_POLICY]) { in bond_print_opt()
516 rta_getattr_u8(tb[IFLA_BOND_XMIT_HASH_POLICY])); in bond_print_opt()
523 if (tb[IFLA_BOND_RESEND_IGMP]) in bond_print_opt()
527 rta_getattr_u32(tb[IFLA_BOND_RESEND_IGMP])); in bond_print_opt()
529 if (tb[IFLA_BOND_NUM_PEER_NOTIF]) in bond_print_opt()
533 rta_getattr_u8(tb[IFLA_BOND_NUM_PEER_NOTIF])); in bond_print_opt()
535 if (tb[IFLA_BOND_ALL_SLAVES_ACTIVE]) in bond_print_opt()
539 rta_getattr_u8(tb[IFLA_BOND_ALL_SLAVES_ACTIVE])); in bond_print_opt()
541 if (tb[IFLA_BOND_MIN_LINKS]) in bond_print_opt()
545 rta_getattr_u32(tb[IFLA_BOND_MIN_LINKS])); in bond_print_opt()
547 if (tb[IFLA_BOND_LP_INTERVAL]) in bond_print_opt()
551 rta_getattr_u32(tb[IFLA_BOND_LP_INTERVAL])); in bond_print_opt()
553 if (tb[IFLA_BOND_PACKETS_PER_SLAVE]) in bond_print_opt()
557 rta_getattr_u32(tb[IFLA_BOND_PACKETS_PER_SLAVE])); in bond_print_opt()
559 if (tb[IFLA_BOND_AD_LACP_RATE]) { in bond_print_opt()
561 rta_getattr_u8(tb[IFLA_BOND_AD_LACP_RATE])); in bond_print_opt()
568 if (tb[IFLA_BOND_AD_SELECT]) { in bond_print_opt()
570 rta_getattr_u8(tb[IFLA_BOND_AD_SELECT])); in bond_print_opt()
577 if (tb[IFLA_BOND_AD_INFO]) { in bond_print_opt()
581 tb[IFLA_BOND_AD_INFO]); in bond_print_opt()
622 if (tb[IFLA_BOND_AD_ACTOR_SYS_PRIO]) { in bond_print_opt()
626 rta_getattr_u16(tb[IFLA_BOND_AD_ACTOR_SYS_PRIO])); in bond_print_opt()
629 if (tb[IFLA_BOND_AD_USER_PORT_KEY]) { in bond_print_opt()
633 rta_getattr_u16(tb[IFLA_BOND_AD_USER_PORT_KEY])); in bond_print_opt()
636 if (tb[IFLA_BOND_AD_ACTOR_SYSTEM]) { in bond_print_opt()
643 ll_addr_n2a(RTA_DATA(tb[IFLA_BOND_AD_ACTOR_SYSTEM]), in bond_print_opt()
644 RTA_PAYLOAD(tb[IFLA_BOND_AD_ACTOR_SYSTEM]), in bond_print_opt()
648 if (tb[IFLA_BOND_TLB_DYNAMIC_LB]) { in bond_print_opt()
652 rta_getattr_u8(tb[IFLA_BOND_TLB_DYNAMIC_LB])); in bond_print_opt()