Lines Matching refs:port

65  * actor system priority and port priority.
96 struct agr_port *port;
100 port = ifp->if_agrprivate; /* XXX race with agr_remport. */
101 if (__predict_false(port->port_flags & AGRPORT_DETACHING)) {
105 sc = AGR_SC_FROM_PORT(port);
106 KASSERT(port);
161 lp = LACP_PORT(port);
183 lacp_fill_actorinfo(struct agr_port *port, struct lacp_peerinfo *info)
185 struct lacp_port *lp = LACP_PORT(port);
189 CLLADDR(port->port_ifp->if_sadl), ETHER_ADDR_LEN);
191 info->lip_portid.lpi_portno = htobe16(port->port_ifp->if_index);
198 struct agr_port *port = lp->lp_agrport;
204 if (AGR_STATIC(AGR_SC_FROM_PORT(port))) {
222 memcpy(&du->ldu_eh.ether_shost, &port->port_origlladdr, ETHER_ADDR_LEN);
253 error = agr_xmit_frame(port->port_ifp, m);
258 ieee8023ad_lacp_portstate(struct agr_port *port)
260 struct lacp_port *lp = LACP_PORT(port);
261 u_int media = port->port_media;
265 AGR_ASSERT_LOCKED(AGR_SC_FROM_PORT(port));
287 ieee8023ad_lacp_porttick(struct agr_softc *sc, struct agr_port *port)
289 struct lacp_port *lp = LACP_PORT(port);
302 lacp_portinit(struct agr_port *port)
304 struct lacp_port *lp = LACP_PORT(port);
308 lp->lp_agrport = port;
309 lacp_fill_actorinfo(port, &lp->lp_actor);
314 lp->lp_media = port->port_media; /* XXX */
320 lacp_portfini(struct agr_port *port)
322 struct lacp_port *lp = LACP_PORT(port);
344 struct agr_port *port = lp->lp_agrport;
347 port->port_flags &= ~AGRPORT_COLLECTING;
353 struct agr_port *port = lp->lp_agrport;
356 port->port_flags |= AGRPORT_COLLECTING;
362 struct agr_port *port = lp->lp_agrport;
364 struct lacp_softc *lsc = LACP_SOFTC(AGR_SC_FROM_PORT(port));
389 port->port_flags &= ~AGRPORT_DISTRIBUTING;
399 struct agr_port *port = lp->lp_agrport;
401 struct lacp_softc *lsc = LACP_SOFTC(AGR_SC_FROM_PORT(port));
424 port->port_flags |= AGRPORT_DISTRIBUTING;
446 ieee8023ad_portinit(struct agr_port *port)
448 struct ieee8023ad_port *iport = IEEE8023AD_PORT(port);
452 lacp_portinit(port);
456 ieee8023ad_portfini(struct agr_port *port)
458 struct agr_softc *sc = AGR_SC_FROM_PORT(port);
462 lacp_portfini(port);
683 /* bit 0..14: (some bits of) if_index of this port */