summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2024-06-29 00:53:57 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2024-06-29 00:53:57 +0000
commitaae6c42a8d6db76cdf9f92bb817266cb1dd3bf4c (patch)
tree839611c8dfb4da30057a99c4c06ece93fb1323ba
parent2bb0b1c6783c4123f88a714597011c82ebcbd955 (diff)
Add variables for DAE for RADIUS (RFC 5176).
-rw-r--r--lib/libradius/radius.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/libradius/radius.h b/lib/libradius/radius.h
index ac19d2b7819..2581ce7a7e0 100644
--- a/lib/libradius/radius.h
+++ b/lib/libradius/radius.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: radius.h,v 1.4 2024/02/25 06:22:45 yasuoka Exp $ */
+/* $OpenBSD: radius.h,v 1.5 2024/06/29 00:53:56 yasuoka Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -31,6 +31,7 @@
#define RADIUS_DEFAULT_PORT 1812
#define RADIUS_ACCT_DEFAULT_PORT 1813
+#define RADIUS_DAE_DEFAULT_PORT 3799
/* RADIUS codes */
#define RADIUS_CODE_ACCESS_REQUEST 1
@@ -42,6 +43,12 @@
#define RADIUS_CODE_STATUS_SERVER 12
#define RADIUS_CODE_STATUS_CLIENT 13
+#define RADIUS_CODE_DISCONNECT_REQUEST 40
+#define RADIUS_CODE_DISCONNECT_ACK 41
+#define RADIUS_CODE_DISCONNECT_NACK 42
+#define RADIUS_CODE_COA_REQUEST 43
+#define RADIUS_CODE_COA_ACK 44
+#define RADIUS_CODE_COA_NACK 45
/* RADIUS attributes */
#define RADIUS_TYPE_USER_NAME 1