sl_softc
struct sl_softc *sc = chan;
struct sl_softc *sc = chan;
static struct sl_softc sl_softc[NSL];
static int slinit (struct sl_softc *);
static struct mbuf *sl_btom (struct sl_softc *, int);
struct sl_softc *sc;
for (sc = sl_softc; i < NSL; sc++) {
slinit(struct sl_softc *sc)
struct sl_softc *sc;
for (nsl = NSL, sc = sl_softc; --nsl >= 0; sc++) {
struct sl_softc *sc;
sc = (struct sl_softc *)tp->t_slsc;
struct sl_softc *sc = (struct sl_softc *)tp->t_slsc, *nc, *tmpnc;
for (nsl = NSL, nc = sl_softc; --nsl >= 0; nc++) {
struct sl_softc *sc = &sl_softc[ifp->if_dunit];
struct sl_softc *sc = (struct sl_softc *)tp->t_slsc;
sl_btom(struct sl_softc *sc, int len)
struct sl_softc *sc;
sc = (struct sl_softc *)tp->t_slsc;
if (sl_softc[ifp->if_dunit].sc_ttyp == NULL) {
if (sl_softc[ifp->if_dunit].sc_ttyp != NULL)
tp = sl_softc[ifp->if_dunit].sc_ttyp;
struct sl_softc *sc, *osc;
sc = (struct sl_softc *)malloc(AMT);
osc = (struct sl_softc *)malloc(AMT);