summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/bundle.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2002-05-07 10:06:54 +0000
committerbrian <brian@FreeBSD.org>2002-05-07 10:06:54 +0000
commit920f339ee0360ae3f2069fa04c25c1ae979fbe65 (patch)
tree86531cf7a7e689db81efecb1236fcce8aeed44b1 /usr.sbin/ppp/bundle.h
parent3d392cbffdb42022550522a3427ebe7ad7444a39 (diff)
downloadFreeBSD-src-920f339ee0360ae3f2069fa04c25c1ae979fbe65.zip
FreeBSD-src-920f339ee0360ae3f2069fa04c25c1ae979fbe65.tar.gz
Understand the Session-Timeout RADIUS attribute
Store the Filter-Id attribute (we don't do anything with it yet) Submitted mostly by: andrew pavlov <and@kremenchug.net>
Diffstat (limited to 'usr.sbin/ppp/bundle.h')
-rw-r--r--usr.sbin/ppp/bundle.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/usr.sbin/ppp/bundle.h b/usr.sbin/ppp/bundle.h
index d8c056a..b2cb6f0 100644
--- a/usr.sbin/ppp/bundle.h
+++ b/usr.sbin/ppp/bundle.h
@@ -127,6 +127,13 @@ struct bundle {
time_t done;
} idle;
+#ifndef NORADIUS
+ struct {
+ struct pppTimer timer;
+ time_t done;
+ } session;
+#endif
+
struct {
int fd; /* write status here */
} notify;
@@ -163,6 +170,11 @@ extern void bundle_StopIdleTimer(struct bundle *);
extern int bundle_IsDead(struct bundle *);
extern struct datalink *bundle2datalink(struct bundle *, const char *);
+#ifndef NORADIUS
+extern void bundle_StartSessionTimer(struct bundle *, unsigned secs);
+extern void bundle_StopSessionTimer(struct bundle *);
+#endif
+
extern void bundle_RegisterDescriptor(struct bundle *, struct fdescriptor *);
extern void bundle_UnRegisterDescriptor(struct bundle *, struct fdescriptor *);
OpenPOWER on IntegriCloud