11ae349f5Scvs2svn /* 21ae349f5Scvs2svn * Written by Toshiharu OHNO (tony-o@iij.ad.jp) 31ae349f5Scvs2svn * 41ae349f5Scvs2svn * Copyright (C) 1993, Internet Initiative Japan, Inc. All rights reserverd. 51ae349f5Scvs2svn * 61ae349f5Scvs2svn * Redistribution and use in source and binary forms are permitted 71ae349f5Scvs2svn * provided that the above copyright notice and this paragraph are 81ae349f5Scvs2svn * duplicated in all such forms and that any documentation, 91ae349f5Scvs2svn * advertising materials, and other materials related to such 101ae349f5Scvs2svn * distribution and use acknowledge that the software was developed 111ae349f5Scvs2svn * by the Internet Initiative Japan. The name of the 121ae349f5Scvs2svn * IIJ may not be used to endorse or promote products derived 131ae349f5Scvs2svn * from this software without specific prior written permission. 141ae349f5Scvs2svn * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR 151ae349f5Scvs2svn * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED 161ae349f5Scvs2svn * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. 171ae349f5Scvs2svn * 1863b73463SBrian Somers * $Id: chap.h,v 1.9 1997/10/26 12:42:08 brian Exp $ 191ae349f5Scvs2svn * 201ae349f5Scvs2svn * TODO: 211ae349f5Scvs2svn */ 221ae349f5Scvs2svn 2363b73463SBrian Somers struct physical; 2463b73463SBrian Somers 251ae349f5Scvs2svn #define CHAP_CHALLENGE 1 261ae349f5Scvs2svn #define CHAP_RESPONSE 2 271ae349f5Scvs2svn #define CHAP_SUCCESS 3 281ae349f5Scvs2svn #define CHAP_FAILURE 4 291ae349f5Scvs2svn 301ae349f5Scvs2svn extern struct authinfo AuthChapInfo; 311ae349f5Scvs2svn 3263b73463SBrian Somers extern void ChapInput(struct mbuf *, struct physical *); 33