Lines Matching refs:lagg_softc
140 static int lagg_init_locked(struct lagg_softc *);
142 static void lagg_stop_locked(struct lagg_softc *);
151 static struct lagg_softc *
153 static void lagg_softc_free(struct lagg_softc *);
154 static int lagg_setup_sysctls(struct lagg_softc *);
155 static void lagg_teardown_sysctls(struct lagg_softc *);
156 static int lagg_proto_attach(struct lagg_softc *, lagg_proto,
159 static int lagg_proto_up(struct lagg_softc *);
160 static void lagg_proto_down(struct lagg_softc *);
161 static int lagg_proto_allocport(struct lagg_softc *, struct lagg_port *);
162 static void lagg_proto_freeport(struct lagg_softc *, struct lagg_port *);
163 static void lagg_proto_startport(struct lagg_softc *,
165 static void lagg_proto_stopport(struct lagg_softc *,
168 lagg_proto_input(struct lagg_softc *, struct lagg_port *,
170 static void lagg_proto_linkstate(struct lagg_softc *, struct lagg_port *);
171 static int lagg_proto_ioctl(struct lagg_softc *, struct lagg_req *);
172 static int lagg_get_stats(struct lagg_softc *, struct lagg_req *, size_t);
173 static int lagg_pr_attach(struct lagg_softc *, lagg_proto);
174 static void lagg_pr_detach(struct lagg_softc *);
175 static int lagg_addport(struct lagg_softc *, struct ifnet *);
176 static int lagg_delport(struct lagg_softc *, struct ifnet *);
177 static int lagg_delport_all(struct lagg_softc *);
181 static void lagg_config_promisc(struct lagg_softc *, struct lagg_port *);
182 static void lagg_unconfig_promisc(struct lagg_softc *, struct lagg_port *);
184 lagg_variant_getref(struct lagg_softc *, struct psref *);
186 static int lagg_ether_addmulti(struct lagg_softc *, struct ifreq *);
187 static int lagg_ether_delmulti(struct lagg_softc *, struct ifreq *);
188 static void lagg_port_syncmulti(struct lagg_softc *, struct lagg_port *);
189 static void lagg_port_purgemulti(struct lagg_softc *, struct lagg_port *);
190 static int lagg_port_setup(struct lagg_softc *, struct lagg_port *,
192 static void lagg_port_teardown(struct lagg_softc *, struct lagg_port *,
194 static void lagg_port_syncvlan(struct lagg_softc *, struct lagg_port *);
195 static void lagg_port_purgevlan(struct lagg_softc *, struct lagg_port *);
196 static void lagg_capabilities_update(struct lagg_softc *);
197 static void lagg_sync_ifcaps(struct lagg_softc *);
198 static void lagg_sync_ethcaps(struct lagg_softc *);
199 static void lagg_sync_sadl(struct lagg_softc *);
230 struct lagg_softc *_dummy = NULL;
248 lagg_evcnt_attach(struct lagg_softc *sc,
366 struct lagg_softc *sc;
451 struct lagg_softc *sc = (struct lagg_softc *)ifp->if_softc;
490 struct lagg_softc *sc;
502 lagg_init_locked(struct lagg_softc *sc)
526 struct lagg_softc *sc;
535 lagg_stop_locked(struct lagg_softc *sc)
550 lagg_config(struct lagg_softc *sc, struct lagg_req *lrq)
651 struct lagg_softc *sc;
807 lagg_setup_sysctls(struct lagg_softc *sc)
874 lagg_teardown_sysctls(struct lagg_softc *sc)
882 lagg_hashmbuf(struct lagg_softc *sc, struct mbuf *m)
1060 lagg_output(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m)
1092 lagg_proto_input(struct lagg_softc *sc, struct lagg_port *lp, struct mbuf *m)
1217 struct lagg_softc *sc;
1268 lagg_set_linkspeed(struct lagg_softc *sc, uint64_t linkspeed)
1310 struct lagg_softc *sc;
1347 static struct lagg_softc *
1350 struct lagg_softc *sc;
1363 lagg_softc_free(struct lagg_softc *sc)
1371 lagg_variant_update(struct lagg_softc *sc, struct lagg_variant *newvar)
1388 lagg_variant_getref(struct lagg_softc *sc, struct psref *psref)
1416 lagg_proto_attach(struct lagg_softc *sc, lagg_proto pr,
1438 lagg_proto_updown(struct lagg_softc *sc, bool is_up)
1469 lagg_proto_up(struct lagg_softc *sc)
1476 lagg_proto_down(struct lagg_softc *sc)
1483 lagg_proto_portctrl(struct lagg_softc *sc, struct lagg_port *lp,
1542 lagg_proto_allocport(struct lagg_softc *sc, struct lagg_port *lp)
1549 lagg_proto_freeport(struct lagg_softc *sc, struct lagg_port *lp)
1556 lagg_proto_startport(struct lagg_softc *sc, struct lagg_port *lp)
1563 lagg_proto_stopport(struct lagg_softc *sc, struct lagg_port *lp)
1570 lagg_proto_linkstate(struct lagg_softc *sc, struct lagg_port *lp)
1620 lagg_proto_ioctl(struct lagg_softc *sc, struct lagg_req *lreq)
1655 lagg_pr_attach(struct lagg_softc *sc, lagg_proto pr)
1697 lagg_pr_detach(struct lagg_softc *sc)
1716 lagg_ether_addmulti(struct lagg_softc *sc, struct ifreq *ifr)
1760 lagg_ether_delmulti(struct lagg_softc *sc, struct ifreq *ifr)
1808 lagg_port_multi(struct lagg_softc *sc, struct lagg_port *lp,
1831 lagg_port_syncmulti(struct lagg_softc *sc, struct lagg_port *lp)
1838 lagg_port_purgemulti(struct lagg_softc *sc, struct lagg_port *lp)
1845 lagg_port_vlan(struct lagg_softc *sc, struct lagg_port *lp,
1862 lagg_port_syncvlan(struct lagg_softc *sc, struct lagg_port *lp)
1869 lagg_port_purgevlan(struct lagg_softc *sc, struct lagg_port *lp)
1895 lagg_sync_ifcaps(struct lagg_softc *sc)
1941 lagg_sync_ethcaps(struct lagg_softc *sc)
1967 lagg_ifcap_update(struct lagg_softc *sc)
2023 lagg_ethercap_update(struct lagg_softc *sc)
2098 lagg_capabilities_update(struct lagg_softc *sc)
2108 struct lagg_softc *sc __LAGGDEBUGUSED;
2182 lagg_if_setsadl(struct lagg_softc *sc, uint8_t *lladdr)
2204 lagg_sync_sadl(struct lagg_softc *sc)
2227 lagg_port_setup(struct lagg_softc *sc,
2407 lagg_port_teardown(struct lagg_softc *sc, struct lagg_port *lp,
2520 lagg_addport(struct lagg_softc *sc, struct ifnet *ifp_port)
2539 lagg_delport(struct lagg_softc *sc, struct ifnet *ifp_port)
2568 lagg_delport_all(struct lagg_softc *sc)
2593 lagg_get_stats(struct lagg_softc *sc, struct lagg_req *resp,
2645 lagg_config_promisc(struct lagg_softc *sc, struct lagg_port *lp)
2682 lagg_unconfig_promisc(struct lagg_softc *sc, struct lagg_port *lp)
2709 struct lagg_softc *sc;
2780 struct lagg_softc *sc;