summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/radius.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/radius.h')
-rw-r--r--usr.sbin/ppp/radius.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr.sbin/ppp/radius.h b/usr.sbin/ppp/radius.h
index bba7e45..ab144a5 100644
--- a/usr.sbin/ppp/radius.h
+++ b/usr.sbin/ppp/radius.h
@@ -32,6 +32,11 @@
#define MPPE_TYPE_40BIT 2
#define MPPE_TYPE_128BIT 4
+#define RPI_DEFAULT 1
+#define RPI_PID 2
+#define RPI_IFNUM 3
+#define RPI_TUNNUM 4
+
struct radius {
struct fdescriptor desc; /* We're a sort of (selectable) fdescriptor */
struct {
@@ -70,6 +75,7 @@ struct radius {
struct pppTimer timer; /* for this long */
int interval;
} alive;
+ short unsigned int port_id_type;
};
struct radacct {
OpenPOWER on IntegriCloud