LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
libxenon
include
lwipopts.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2001, 2002 Swedish Institute of Computer Science.
3
* All rights reserved.
4
*
5
* Redistribution and use in source and binary forms, with or without modification,
6
* are permitted provided that the following conditions are met:
7
*
8
* 1. Redistributions of source code must retain the above copyright notice,
9
* this list of conditions and the following disclaimer.
10
* 2. Redistributions in binary form must reproduce the above copyright notice,
11
* this list of conditions and the following disclaimer in the documentation
12
* and/or other materials provided with the distribution.
13
* 3. The name of the author may not be used to endorse or promote products
14
* derived from this software without specific prior written permission.
15
*
16
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
17
* WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
18
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
19
* SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
20
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
21
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
22
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
23
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
24
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
25
* OF SUCH DAMAGE.
26
*
27
* This file is part of the lwIP TCP/IP stack.
28
*
29
* Author: Adam Dunkels <adam@sics.se>
30
*
31
*/
32
33
34
#ifndef __LWIPOPTS_H__
35
#define __LWIPOPTS_H__
36
37
#include <string.h>
38
#include <
stdio.h
>
39
40
#define NO_SYS 1
41
#define NO_SYS_NO_TIMERS 1
42
#define ETHARP_TRUST_IP_MAC 1
43
44
#define LWIP_CALLBACK_API 1
45
#define LWIP_TCP 1
46
#define LWIP_UDP 1
47
#define LWIP_DHCP 1
48
#define LWIP_SOCKET 0
49
#define LWIP_NETCONN 0
50
#define LWIP_NETIF_HOSTNAME 1
51
52
#define MEM_ALIGNMENT 4
53
#define MEM_SIZE (4 * 1024 * 1024)
54
#define MEMP_NUM_PBUF 1024
55
#define MEMP_NUM_UDP_PCB 20
56
#define MEMP_NUM_TCP_PCB 20
57
#define MEMP_NUM_TCP_PCB_LISTEN 16
58
#define MEMP_NUM_TCP_SEG 128
59
#define MEMP_NUM_NETBUF 0
60
#define MEMP_NUM_NETCONN 0
61
#define MEMP_NUM_SYS_TIMEOUT 20
62
#define PBUF_POOL_SIZE 512
63
#define TCP_TTL 255
64
#define TCP_QUEUE_OOSEQ 1
65
#define TCP_MSS 1476
66
#define TCP_SND_BUF (8 * TCP_MSS)
67
#define TCP_WND (4 * TCP_MSS)
68
#define ARP_QUEUEING 1
69
#define IP_FORWARD 0
70
#define IP_OPTIONS 1
71
#define DHCP_DOES_ARP_CHECK 1
72
73
74
//#define LWIP_DEBUG 1
75
//#define DHCP_DEBUG LWIP_DBG_ON
76
//#define NETIF_DEBUG LWIP_DBG_ON
77
//#define TIMERS_DEBUG LWIP_DBG_ON
78
//#define LWIP_DEBUG_TIMERNAMES 1
79
80
#endif
/* __LWIPOPTS_H__ */
stdio.h
Generated by
1.9.5