-struct ppp_softc {
- struct ifnet sc_if; /* network-visible interface */
- u_int sc_flags; /* see below */
- void *sc_devp; /* pointer to device-dependent structure */
- int (*sc_start)(); /* start routine */
- short sc_mru; /* max receive unit */
- pid_t sc_xfer; /* used in xferring unit to another dev */
- struct ifqueue sc_inq; /* TTY side input queue */
- struct ifqueue sc_fastq; /* IP interactive output packet queue */
-#ifdef VJC
- struct slcompress sc_comp; /* vjc control buffer */
-#endif
- u_int sc_bytessent; /* count of octets sent */
- u_int sc_bytesrcvd; /* count of octets received */
- caddr_t sc_bpf; /* hook for BPF */
- struct compressor *sc_xcomp; /* transmit compressor */
- void *sc_xc_state; /* transmit compressor state */
- struct compressor *sc_rcomp; /* receive decompressor */
- void *sc_rc_state; /* receive decompressor state */
-
- /* Device-dependent part for async lines. */
- ext_accm sc_asyncmap; /* async control character map */
- u_long sc_rasyncmap; /* receive async control char map */
- struct mbuf *sc_outm; /* mbuf chain being output currently */
- struct mbuf *sc_m; /* pointer to input mbuf chain */
- struct mbuf *sc_mc; /* pointer to current input mbuf */
- char *sc_mp; /* pointer to next char in input mbuf */
- short sc_ilen; /* length of input-packet-so-far */
- u_short sc_fcs; /* FCS so far (input) */
- u_short sc_outfcs; /* FCS so far for output packet */
- u_char sc_rawin[16]; /* chars as received */
- int sc_rawin_count; /* # in sc_rawin */
-};
-
-/* flags */