diff options
Diffstat (limited to 'usr.sbin/ppp/lqr.h')
-rw-r--r-- | usr.sbin/ppp/lqr.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.sbin/ppp/lqr.h b/usr.sbin/ppp/lqr.h index 16bab39..13d378f 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 *); |