diff options
Diffstat (limited to 'sys/net/if_slvar.h')
-rw-r--r-- | sys/net/if_slvar.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/if_slvar.h b/sys/net/if_slvar.h index 2de9533..e6b6d2c 100644 --- a/sys/net/if_slvar.h +++ b/sys/net/if_slvar.h @@ -43,7 +43,7 @@ * of sl_softc.) */ struct sl_softc { - struct ifnet sc_if; /* network-visible interface */ + struct ifnet *sc_ifp; /* network-visible interface */ struct ifqueue sc_fastq; /* interactive output queue */ struct tty *sc_ttyp; /* pointer to tty structure */ struct mbuf *sc_mbuf; /* pointer to mbuf containing buffer */ @@ -67,6 +67,7 @@ struct sl_softc { LIST_ENTRY(sl_softc) sl_next; u_char *bpfbuf; /* hang buffer for bpf here */ }; +#define SL2IFP(sc) ((sc)->sc_ifp) /* internal flags */ #define SC_ERROR 0x0001 /* had an input error */ |