X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fplugins%2Fradius%2Fradiusclient%2Finclude%2Fradiusclient.h;h=141e69039ac16ff88c6259fac91c2d2912ecbd8a;hp=5604987f8b950fb399a2d0722b3335f28d9b01cf;hb=8ed456439d306257173fb0c74d77c4e3c472dfc6;hpb=8832e3ba208085ae3f15c0d48c2bb7a02bc9ae79 diff --git a/pppd/plugins/radius/radiusclient/include/radiusclient.h b/pppd/plugins/radius/radiusclient/include/radiusclient.h index 5604987..141e690 100644 --- a/pppd/plugins/radius/radiusclient/include/radiusclient.h +++ b/pppd/plugins/radius/radiusclient/include/radiusclient.h @@ -1,5 +1,5 @@ /* - * $Id: radiusclient.h,v 1.3 2002/03/01 14:39:19 dfs Exp $ + * $Id: radiusclient.h,v 1.4 2002/03/04 14:59:52 dfs Exp $ * * Copyright (C) 1995,1996,1997,1998 Lars Fenneberg * @@ -83,8 +83,8 @@ typedef struct pw_auth_hdr #define MAX_SECRET_LENGTH (3 * 16) /* MUST be multiple of 16 */ #define CHAP_VALUE_LENGTH 16 -#define PW_AUTH_UDP_PORT 1645 -#define PW_ACCT_UDP_PORT 1646 +#define PW_AUTH_UDP_PORT 1812 +#define PW_ACCT_UDP_PORT 1813 #define PW_TYPE_STRING 0 #define PW_TYPE_INTEGER 1 @@ -154,6 +154,10 @@ typedef struct pw_auth_hdr #define PW_PORT_LIMIT 62 /* integer */ #define PW_LOGIN_LAT_PORT 63 /* string */ +/* Vendor RADIUS attribute-value pairs */ +#define PW_MS_CHAP_CHALLENGE 11 /* string */ +#define PW_MS_CHAP_RESPONSE 1 /* string */ + /* Accounting */ #define PW_ACCT_STATUS_TYPE 40 /* integer */ @@ -277,6 +281,7 @@ typedef struct pw_auth_hdr /* Vendor codes */ #define VENDOR_NONE (-1) +#define VENDOR_MICROSOFT 311 /* Server data structures */