summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/proto.h
blob: 8810efd217e2adabdc4d7d76c215dcfc616a81c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
 * $Source$
 * $Author$
 * $Id$
 *
 * Copyright 1989 by the Massachusetts Institute of Technology.
 *
 * For copying and distribution information, please see the file
 * <krb5/mit-copyright.h>.
 *
 * Protocol message definitions.
 */

#include <krb5/copyright.h>

#ifndef __KRB5_PROTO__
#define __KRB5_PROTO__

/* Protocol version number */
#define	KRB5_PVNO	5

/* Message types */

#define	KRB_AS_REQ		2	/* Req for initial authentication */
#define	KRB_AS_REP		4	/* Response to KRB_AS_REQ request */
#define	KRB_AP_REQ		6	/* application request to server */
#define	KRB_AP_REP		10	/* Response to KRB_AP_REQ_MUTUAL */
#define	KRB_PRIV		12	/* Private application message */
#define	KRB_SAFE		14	/* Safe application message */
#define	KRB_TGS_REP		16	/* Response to KRB_TGS_REQ request */
#define	KRB_ERROR		32	/* Error response */

#endif /* __KRB5_PROTO__ */