• Home
  • Raw
  • Download

Lines Matching refs:tb

35 static void print_slave_state(FILE *f, struct rtattr *tb)  in print_slave_state()  argument
37 unsigned int state = rta_getattr_u8(tb); in print_slave_state()
55 static void print_slave_mii_status(FILE *f, struct rtattr *tb) in print_slave_mii_status() argument
57 unsigned int status = rta_getattr_u8(tb); in print_slave_mii_status()
71 static void bond_slave_print_opt(struct link_util *lu, FILE *f, struct rtattr *tb[]) in bond_slave_print_opt() argument
74 if (!tb) in bond_slave_print_opt()
77 if (tb[IFLA_BOND_SLAVE_STATE]) in bond_slave_print_opt()
78 print_slave_state(f, tb[IFLA_BOND_SLAVE_STATE]); in bond_slave_print_opt()
80 if (tb[IFLA_BOND_SLAVE_MII_STATUS]) in bond_slave_print_opt()
81 print_slave_mii_status(f, tb[IFLA_BOND_SLAVE_MII_STATUS]); in bond_slave_print_opt()
83 if (tb[IFLA_BOND_SLAVE_LINK_FAILURE_COUNT]) in bond_slave_print_opt()
87 rta_getattr_u32(tb[IFLA_BOND_SLAVE_LINK_FAILURE_COUNT])); in bond_slave_print_opt()
89 if (tb[IFLA_BOND_SLAVE_PERM_HWADDR]) in bond_slave_print_opt()
93 ll_addr_n2a(RTA_DATA(tb[IFLA_BOND_SLAVE_PERM_HWADDR]), in bond_slave_print_opt()
94 RTA_PAYLOAD(tb[IFLA_BOND_SLAVE_PERM_HWADDR]), in bond_slave_print_opt()
97 if (tb[IFLA_BOND_SLAVE_QUEUE_ID]) in bond_slave_print_opt()
101 rta_getattr_u16(tb[IFLA_BOND_SLAVE_QUEUE_ID])); in bond_slave_print_opt()
103 if (tb[IFLA_BOND_SLAVE_AD_AGGREGATOR_ID]) in bond_slave_print_opt()
107 rta_getattr_u16(tb[IFLA_BOND_SLAVE_AD_AGGREGATOR_ID])); in bond_slave_print_opt()
109 if (tb[IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE]) in bond_slave_print_opt()
113 rta_getattr_u8(tb[IFLA_BOND_SLAVE_AD_ACTOR_OPER_PORT_STATE])); in bond_slave_print_opt()
115 if (tb[IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE]) in bond_slave_print_opt()
119 rta_getattr_u16(tb[IFLA_BOND_SLAVE_AD_PARTNER_OPER_PORT_STATE])); in bond_slave_print_opt()