diff options
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/ppp/radlib.h | 9 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/radlib_vs.h | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ppp/radlib.h b/usr.sbin/ppp/ppp/radlib.h index 2a4442cd3cd..a23cdbcf9ff 100644 --- a/usr.sbin/ppp/ppp/radlib.h +++ b/usr.sbin/ppp/ppp/radlib.h @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $OpenBSD: radlib.h,v 1.6 2005/09/21 13:44:55 brad Exp $ + * $OpenBSD: radlib.h,v 1.7 2005/09/21 17:22:28 brad Exp $ */ #ifndef _RADLIB_H_ @@ -32,6 +32,9 @@ #include <sys/types.h> #include <netinet/in.h> +/* Limits */ +#define RAD_MAX_ATTR_LEN 253 + /* Message types */ #define RAD_ACCESS_REQUEST 1 #define RAD_ACCESS_ACCEPT 2 @@ -125,6 +128,9 @@ #define RAD_PORT_LIMIT 62 /* Integer */ #define RAD_LOGIN_LAT_PORT 63 /* Integer */ #define RAD_CONNECT_INFO 77 /* String */ +#define RAD_EAP_MESSAGE 79 /* Octets */ +#define RAD_MESSAGE_AUTHENTIC 80 /* Octets */ +#define RAD_ACCT_INTERIM_INTERVAL 85 /* Integer */ #define RAD_NAS_IPV6_ADDRESS 95 /* IPv6 address */ #define RAD_FRAMED_INTERFACE_ID 96 /* 8 octets */ #define RAD_FRAMED_IPV6_PREFIX 97 /* Octets */ @@ -136,6 +142,7 @@ #define RAD_ACCT_STATUS_TYPE 40 /* Integer */ #define RAD_START 1 #define RAD_STOP 2 + #define RAD_UPDATE 3 #define RAD_ACCOUNTING_ON 7 #define RAD_ACCOUNTING_OFF 8 #define RAD_ACCT_DELAY_TIME 41 /* Integer */ diff --git a/usr.sbin/ppp/ppp/radlib_vs.h b/usr.sbin/ppp/ppp/radlib_vs.h index 08b2cf15e78..b5a6ea02ce1 100644 --- a/usr.sbin/ppp/ppp/radlib_vs.h +++ b/usr.sbin/ppp/ppp/radlib_vs.h @@ -65,6 +65,8 @@ #define RAD_MICROSOFT_MS_SECONDARY_NBNS_SERVER 31 #define RAD_MICROSOFT_MS_ARAP_CHALLENGE 33 +#define SALT_LEN 2 + struct rad_handle; __BEGIN_DECLS |