blob: 35c60faf413a2434f14bdff57607ad977b5a0efa [file] [log] [blame]
oliverschmidt37dc5242004-08-20 12:30:26 +00001#ifndef __PPP_CONF_H__
2#define __PPP_CONF_H__
3/* www.mycal.com
4 *---------------------------------------------------------------------------
5 *ppp-conf.h - pppconfig header file - -
6 *---------------------------------------------------------------------------
7 *Version - 0.1 Original Version June 3, 2000 -
8 *---------------------------------------------------------------------------
9 *Notes: - This is where you configure the timeout and buffer sizes.
10 *-
11 *---------------------------------------------------------------------------
12*/
13/*
14 * Copyright (c) 2003, Mike Johnson, Mycal Labs, www.mycal.net
15 * All rights reserved.
16 *
17 * Redistribution and use in source and binary forms, with or without
18 * modification, are permitted provided that the following conditions
19 * are met:
20 * 1. Redistributions of source code must retain the above copyright
21 * notice, this list of conditions and the following disclaimer.
22 * 2. Redistributions in binary form must reproduce the above copyright
23 * notice, this list of conditions and the following disclaimer in the
24 * documentation and/or other materials provided with the distribution.
25 * 3. All advertising materials mentioning features or use of this software
26 * must display the following acknowledgement:
27 * This product includes software developed by Mike Johnson of Mycal
28 * Labs (www.mycal.net)
29 * 4. The name of the author may not be used to endorse or promote
30 * products derived from this software without specific prior
31 * written permission.
32 *
33 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
34 * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
35 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
36 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
37 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
38 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
39 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
40 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
41 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
42 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
43 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
44 *
45 * This file is part of the Mycal Modified uIP TCP/IP stack.
46 *
oliverschmidt68df72f2004-08-22 12:38:04 +000047 * $Id: ppp-conf.h,v 1.2 2004/08/22 12:38:04 oliverschmidt Exp $
oliverschmidt37dc5242004-08-20 12:30:26 +000048 *
49 */
50
51#include <string.h>
52#include "uip.h"
53
54#define PPP_RX_BUFFER_SIZE 1024
55/*#define PPP_TX_BUFFER_SIZE 64*/
56
57#define LCP_RETRY_COUNT 5
58#define LCP_TIMEOUT 5
59
60#define PAP_TIMEOUT 5
61
62#define IPCP_RETRY_COUNT 5
63#define IPCP_TIMEOUT 5
64
65/* uncomment next line to get peer IP address */
66#define IPCP_GET_PEER_IP 1
67#define IPCP_GET_PRI_DNS 1
68#define IPCP_GET_SEC_DNS 1
69
oliverschmidt68df72f2004-08-22 12:38:04 +000070#endif /* __PPP_CONF_H__ */