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 *
| 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: pap.h,v 1.4 1997/10/26 01:03:29 brian Exp $
| 18 * $Id: pap.h,v 1.5.2.5 1998/05/01 19:25:32 brian Exp $
|
19 * 20 * TODO: 21 */ 22 23#define PAP_REQUEST 1 24#define PAP_ACK 2 25#define PAP_NAK 3 26
| 19 * 20 * TODO: 21 */ 22 23#define PAP_REQUEST 1 24#define PAP_ACK 2 25#define PAP_NAK 3 26
|
27extern struct authinfo AuthPapInfo;
| 27struct mbuf; 28struct physical; 29struct authinfo; 30struct bundle;
|
28
| 31
|
29extern void PapInput(struct mbuf *);
| 32extern void pap_Input(struct bundle *, struct mbuf *, struct physical *); 33extern void pap_SendChallenge(struct authinfo *, int, struct physical *);
|
| |