summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/lqr.h
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>2004-06-30 12:24:56 +0000
committerBrian Somers <brian@FreeBSD.org>2004-06-30 12:24:56 +0000
commita57095e7f7d70ed76edfd028480dc277a4ce17be (patch)
tree76236bba03020705b0cfc202918cca570310fc13 /usr.sbin/ppp/lqr.h
parent6e7a069c0080c60da064813283ce34de714b3d3d (diff)
downloadsrc-test2-a57095e7f7d70ed76edfd028480dc277a4ce17be.tar.gz
src-test2-a57095e7f7d70ed76edfd028480dc277a4ce17be.zip
Notes
Diffstat (limited to 'usr.sbin/ppp/lqr.h')
-rw-r--r--usr.sbin/ppp/lqr.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.sbin/ppp/lqr.h b/usr.sbin/ppp/lqr.h
index 16bab3938ce9..13d378ffbe77 100644
--- a/usr.sbin/ppp/lqr.h
+++ b/usr.sbin/ppp/lqr.h
@@ -46,6 +46,14 @@ struct lqrdata {
u_int32_t PeerOutOctets; /* Peers OutOctets (hdlc.h) */
};
+struct lqrsavedata { /* Saved on receipt of an LQR */
+ u_int32_t InLQRs; /* From ifInLQRs */
+ u_int32_t InPackets; /* From ifInPackets */
+ u_int32_t InDiscards; /* From ifInDiscards */
+ u_int32_t InErrors; /* From ifInErrors */
+ u_int32_t InOctets; /* From InGoodOctets ! */
+};
+
/*
* We support LQR and ECHO as LQM method
*/
@@ -56,10 +64,13 @@ struct mbuf;
struct physical;
struct lcp;
struct fsm;
+struct hdlc;
struct link;
struct bundle;
extern void lqr_Dump(const char *, const char *, const struct lqrdata *);
+extern void lqr_Analyse(const struct hdlc *, const struct lqrdata *,
+ const struct lqrdata *);
extern void lqr_ChangeOrder(struct lqrdata *, struct lqrdata *);
extern void lqr_Start(struct lcp *);
extern void lqr_reStart(struct lcp *);