xref: /freebsd/usr.sbin/ppp/chap.h (revision 63b7346316afa0c20b6cf22506bcc53abc9f08f8)
1 /*
2  *	    Written by Toshiharu OHNO (tony-o@iij.ad.jp)
3  *
4  *   Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd.
5  *
6  * Redistribution and use in source and binary forms are permitted
7  * provided that the above copyright notice and this paragraph are
8  * duplicated in all such forms and that any documentation,
9  * advertising materials, and other materials related to such
10  * distribution and use acknowledge that the software was developed
11  * by the Internet Initiative Japan.  The name of the
12  * IIJ may not be used to endorse or promote products derived
13  * from this software without specific prior written permission.
14  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
15  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
16  * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
17  *
18  * $Id: chap.h,v 1.9 1997/10/26 12:42:08 brian Exp $
19  *
20  *	TODO:
21  */
22 
23 struct physical;
24 
25 #define	CHAP_CHALLENGE	1
26 #define	CHAP_RESPONSE	2
27 #define	CHAP_SUCCESS	3
28 #define	CHAP_FAILURE	4
29 
30 extern struct authinfo AuthChapInfo;
31 
32 extern void ChapInput(struct mbuf *, struct physical *);
33