summaryrefslogtreecommitdiffstats
path: root/sys/dev/patm/if_patmvar.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-08-07 14:30:58 +0000
committerharti <harti@FreeBSD.org>2003-08-07 14:30:58 +0000
commit09a493cb3159d48ff7266b56e6875e37cdf0646d (patch)
tree7314f39ce75409c72438a82e1d8191ef8f5cb9dc /sys/dev/patm/if_patmvar.h
parent6c92eabed547d8c0f01573c11526ecd9642e6483 (diff)
downloadFreeBSD-src-09a493cb3159d48ff7266b56e6875e37cdf0646d.zip
FreeBSD-src-09a493cb3159d48ff7266b56e6875e37cdf0646d.tar.gz
Make open channels persist across ifconfig down and up. All channels
that are not currently closing when the interface is configured down will be brough up as soon as the interface is configured up.
Diffstat (limited to 'sys/dev/patm/if_patmvar.h')
-rw-r--r--sys/dev/patm/if_patmvar.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/patm/if_patmvar.h b/sys/dev/patm/if_patmvar.h
index 5a350ed..f26cf17 100644
--- a/sys/dev/patm/if_patmvar.h
+++ b/sys/dev/patm/if_patmvar.h
@@ -196,6 +196,7 @@ struct patm_vcc {
uint32_t opackets; /* packets sent */
uint64_t ibytes; /* bytes received */
uint64_t obytes; /* bytes sent */
+
struct mbuf *chain; /* currently received chain */
struct mbuf *last; /* end of chain */
u_int cid; /* index */
@@ -382,6 +383,9 @@ void patm_intr(void *);
/* check RSQ */
void patm_intr_rsq(struct patm_softc *sc);
+/* enable the vcc */
+void patm_load_vc(struct patm_softc *sc, struct patm_vcc *vcc, int reload);
+
/* close the given vcc for transmission */
void patm_tx_vcc_close(struct patm_softc *, struct patm_vcc *);
OpenPOWER on IntegriCloud