Lines Matching refs:lp_partner
394 du->ldu_partner = lp->lp_partner;
657 req->partner_prio = ntohs(lp->lp_partner.lip_systemid.lsi_prio);
658 memcpy(&req->partner_mac, &lp->lp_partner.lip_systemid.lsi_mac,
660 req->partner_key = ntohs(lp->lp_partner.lip_key);
661 req->partner_portprio = ntohs(lp->lp_partner.lip_portid.lpi_prio);
662 req->partner_portno = ntohs(lp->lp_partner.lip_portid.lpi_portno);
663 req->partner_state = lp->lp_partner.lip_state;
1347 lacp_fill_aggregator_id_peer(&la->la_partner, &lp->lp_partner);
1371 !(lp->lp_partner.lip_state & LACP_STATE_AGGREGATION)) {
1379 if (!lacp_peerinfo_is_compatible(&la->la_partner, &lp->lp_partner)) {
1420 lp->lp_partner.lip_state &= ~LACP_STATE_AGGREGATION;
1446 lacp_format_lagid(&lp->lp_actor, &lp->lp_partner,
1513 (lp->lp_partner.lip_state & LACP_STATE_SYNC) != 0;
1515 (lp->lp_partner.lip_state & LACP_STATE_COLLECTING) != 0;
1650 if (LACP_STATE_EQ(oldpstate, lp->lp_partner.lip_state,
1671 if ((lp->lp_partner.lip_state & LACP_STATE_TIMEOUT)) {
1682 !(lp->lp_partner.lip_state & LACP_STATE_ACTIVITY)) {
1695 timeout = (lp->lp_partner.lip_state & LACP_STATE_TIMEOUT) ?
1753 lp->lp_partner.lip_state &= ~LACP_STATE_SYNC;
1754 lp->lp_partner.lip_state |= LACP_STATE_TIMEOUT;
1784 oldpstate = lp->lp_partner.lip_state;
1790 lp->lp_partner = du->ldu_actor;
1804 lp->lp_partner.lip_state |= LACP_STATE_SYNC;
1806 lp->lp_partner.lip_state &= ~LACP_STATE_SYNC;
1811 if (oldpstate != lp->lp_partner.lip_state) {
1815 lacp_format_state(lp->lp_partner.lip_state, buf,
1843 oldpstate = lp->lp_partner.lip_state;
1845 lp->lp_partner = lacp_partner_admin_strict;
1847 lp->lp_partner = lacp_partner_admin_optimistic;
1859 if (lacp_compare_peerinfo(&lp->lp_partner, info) ||
1860 !LACP_STATE_EQ(lp->lp_partner.lip_state, info->lip_state,
1900 && !(lp->lp_partner.lip_state & LACP_STATE_ACTIVITY))