/*
 * uip-conf.h
 *
 *  Created on: Jan 29, 2012
 *      Author: RomanM
 */

#ifndef UIP_CONF_H_
#define UIP_CONF_H_

#include <inttypes.h>

typedef uint8_t u8_t;
typedef uint16_t u16_t;

typedef unsigned short uip_stats_t;

#ifndef	NULL
#define	NULL	((void *)0)
#endif

#define UIP_CONF_MAX_CONNECTIONS	5				// Maximum number of TCP connections.
#define UIP_CONF_MAX_LISTENPORTS	5				// Maximum number of listening TCP ports.
#define UIP_CONF_BUFFER_SIZE		1500			// uIP buffer size.
#define UIP_CONF_BYTE_ORDER			LITTLE_ENDIAN	// CPU byte order.
#define UIP_CONF_LOGGING			0				// Logging on or off
#define UIP_CONF_STATISTICS			0				// uIP statistics on or off

#define UIP_CONF_UDP				0				// UDP support on or off
#define UIP_CONF_UDP_CHECKSUMS		0				// UDP checksums on or off
#define UIP_CONF_BROADCAST			0				// Broadcast support
#define UIP_CONF_UDP_CONNS			0				// The maximum amount of concurrent UDP connections.

#include "../app/uip-app.h"

#if UIP_CONF_UDP
	#include "../app/uip-app-udp.h"
#endif

#endif /* UIP_CONF_H_ */
