Lines Matching refs:lacp_port
97 typedef void (*lacp_timer_func_t)(struct lacp_port *);
99 static void lacp_fill_actorinfo(struct lacp_port *, struct lacp_peerinfo *);
100 static void lacp_fill_markerinfo(struct lacp_port *,
109 static uint16_t lacp_compose_key(struct lacp_port *);
115 const struct lacp_port *);
119 const struct lacp_port *);
124 struct lacp_port *);
132 static int lacp_pdu_input(struct lacp_port *, struct mbuf *);
133 static int lacp_marker_input(struct lacp_port *, struct mbuf *);
134 static void lacp_sm_rx(struct lacp_port *, const struct lacpdu *);
135 static void lacp_sm_rx_timer(struct lacp_port *);
136 static void lacp_sm_rx_set_expired(struct lacp_port *);
137 static void lacp_sm_rx_update_ntt(struct lacp_port *,
139 static void lacp_sm_rx_record_pdu(struct lacp_port *,
141 static void lacp_sm_rx_update_selected(struct lacp_port *,
143 static void lacp_sm_rx_record_default(struct lacp_port *);
144 static void lacp_sm_rx_update_default_selected(struct lacp_port *);
145 static void lacp_sm_rx_update_selected_from_peerinfo(struct lacp_port *,
150 static void lacp_sm_mux(struct lacp_port *);
151 static void lacp_set_mux(struct lacp_port *, enum lacp_mux_state);
152 static void lacp_sm_mux_timer(struct lacp_port *);
156 static void lacp_sm_ptx_update_timeout(struct lacp_port *, uint8_t);
157 static void lacp_sm_ptx_tx_schedule(struct lacp_port *);
158 static void lacp_sm_ptx_timer(struct lacp_port *);
162 static void lacp_sm_tx(struct lacp_port *);
163 static void lacp_sm_assert_ntt(struct lacp_port *);
165 static void lacp_run_timers(struct lacp_port *);
170 static void lacp_port_enable(struct lacp_port *);
171 static void lacp_port_disable(struct lacp_port *);
172 static void lacp_select(struct lacp_port *);
173 static void lacp_unselect(struct lacp_port *);
174 static void lacp_disable_collecting(struct lacp_port *);
175 static void lacp_enable_collecting(struct lacp_port *);
176 static void lacp_disable_distributing(struct lacp_port *);
177 static void lacp_enable_distributing(struct lacp_port *);
178 static int lacp_xmit_lacpdu(struct lacp_port *);
179 static int lacp_xmit_marker(struct lacp_port *);
196 static void lacp_dprintf(const struct lacp_port *, const char *, ...)
241 struct lacp_port *lp = LACP_PORT(lgp);
268 lacp_pdu_input(struct lacp_port *lp, struct mbuf *m)
338 lacp_fill_actorinfo(struct lacp_port *lp, struct lacp_peerinfo *info)
352 lacp_fill_markerinfo(struct lacp_port *lp, struct lacp_markerinfo *info)
363 lacp_xmit_lacpdu(struct lacp_port *lp)
417 lacp_xmit_marker(struct lacp_port *lp)
460 struct lacp_port *lp = LACP_PORT(lgp);
510 struct lacp_port *lp;
533 struct lacp_port *lp;
551 lp = malloc(sizeof(struct lacp_port),
579 struct lacp_port *lp = LACP_PORT(lgp);
645 struct lacp_port *lp = LACP_PORT(lgp);
668 lacp_disable_collecting(struct lacp_port *lp)
675 lacp_enable_collecting(struct lacp_port *lp)
682 lacp_disable_distributing(struct lacp_port *lp)
721 lacp_enable_distributing(struct lacp_port *lp)
840 struct lacp_port *lp;
841 struct lacp_port **map;
909 struct lacp_port *lp;
956 struct lacp_port *lp;
1051 struct lacp_port *lp;
1100 lacp_compose_key(struct lacp_port *lp)
1324 lacp_aggregator_get(struct lacp_softc *lsc, struct lacp_port *lp)
1345 lacp_fill_aggregator_id(struct lacp_aggregator *la, const struct lacp_port *lp)
1368 const struct lacp_port *lp)
1407 lacp_port_enable(struct lacp_port *lp)
1413 lacp_port_disable(struct lacp_port *lp)
1428 lacp_select(struct lacp_port *lp)
1488 lacp_unselect(struct lacp_port *lp)
1507 lacp_sm_mux(struct lacp_port *lp)
1579 lacp_set_mux(struct lacp_port *lp, enum lacp_mux_state new_state)
1630 lacp_sm_mux_timer(struct lacp_port *lp)
1648 lacp_sm_ptx_update_timeout(struct lacp_port *lp, uint8_t oldpstate)
1677 lacp_sm_ptx_tx_schedule(struct lacp_port *lp)
1702 lacp_sm_ptx_timer(struct lacp_port *lp)
1708 lacp_sm_rx(struct lacp_port *lp, const struct lacpdu *du)
1751 lacp_sm_rx_set_expired(struct lacp_port *lp)
1760 lacp_sm_rx_timer(struct lacp_port *lp)
1776 lacp_sm_rx_record_pdu(struct lacp_port *lp, const struct lacpdu *du)
1823 lacp_sm_rx_update_ntt(struct lacp_port *lp, const struct lacpdu *du)
1837 lacp_sm_rx_record_default(struct lacp_port *lp)
1853 lacp_sm_rx_update_selected_from_peerinfo(struct lacp_port *lp,
1868 lacp_sm_rx_update_selected(struct lacp_port *lp, const struct lacpdu *du)
1877 lacp_sm_rx_update_default_selected(struct lacp_port *lp)
1893 lacp_sm_tx(struct lacp_port *lp)
1932 lacp_sm_assert_ntt(struct lacp_port *lp)
1939 lacp_run_timers(struct lacp_port *lp)
1957 lacp_marker_input(struct lacp_port *lp, struct mbuf *m)
1961 struct lacp_port *lp2;
2195 lacp_dprintf(const struct lacp_port *lp, const char *fmt, ...)