merge
[l2tpns.git] / constants.h
1 #ifndef __CONSTANTS_H__
2 #define __CONSTANTS_H__
3
4 #define MAX_LCP_TYPE 8
5 extern const char *lcp_types[MAX_LCP_TYPE+1];
6
7 #define MAX_AVPNAME 40
8 extern const char *avpnames[MAX_AVPNAME+1];
9
10 #define MAX_STOPCCN_RESULT_CODE 7
11 extern const char *stopccn_result_codes[MAX_STOPCCN_RESULT_CODE+1];
12
13 #define MAX_CDN_RESULT_CODE 11
14 extern const char *cdn_result_codes[MAX_CDN_RESULT_CODE+1];
15
16 #define MAX_ERROR_CODE 8
17 extern const char *error_codes[MAX_ERROR_CODE+1];
18
19 #define MAX_AUTHTYPE 5
20 extern const char *authtypes[MAX_AUTHTYPE+1];
21
22 // Can remove the NULL end now
23 #define MAX_RADIUS_STATE 8
24 extern const char *radius_states[MAX_RADIUS_STATE+1];
25
26 #define MAX_L2TP_MESSAGE_TYPE 16
27 extern const char *l2tp_message_types[MAX_L2TP_MESSAGE_TYPE+1];
28
29 #endif /* __CONSTANTS_H__ */