|
|
1.1 root 1: #ifndef SL_SOFTCH
2: #define SL_SOFTCH
3:
4: #ifdef KERNEL
5: #include "../h/socket.h"
6: #include "../net/if.h"
7: #else
8: #include <sys/socket.h>
9: #include <net/if.h>
10: #endif KERNEL
11:
12: struct sl_softc {
13: struct ifnet sc_if; /* network-visible interface */
14: short sc_escaped; /* flags */
15: short sc_oactive; /* active or not */
16: struct tty *sc_ttyp; /* pointer to tty structure */
17: int sc_len; /* length of buffer remaining */
18: struct mbuf *sc_m; /* head of mbuf chain */
19: struct mbuf *sc_mt; /* tail of mbuf chain */
20: u_char *sc_mp; /* ptr to next available buffer char */
21: int sc_ttyspeed; /* baud rate of line */
22: };
23:
24: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.