Lines Matching defs:ad_info
2289 * @ad_info: ad_info struct to fill with the bond's info
2294 int bond_3ad_get_active_agg_info(struct bonding *bond, struct ad_info *ad_info)
2307 ad_info->aggregator_id = aggregator->aggregator_identifier;
2308 ad_info->ports = aggregator->num_of_ports;
2309 ad_info->actor_key = aggregator->actor_oper_aggregator_key;
2310 ad_info->partner_key = aggregator->partner_oper_aggregator_key;
2311 memcpy(ad_info->partner_system, aggregator->partner_system.mac_addr_value, ETH_ALEN);
2326 struct ad_info ad_info;
2338 if (bond_3ad_get_active_agg_info(bond, &ad_info)) {
2344 slaves_in_agg = ad_info.ports;
2345 agg_id = ad_info.aggregator_id;