weAut_01 / weAutSys    R 2.2.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines
include/arch/uip-conf.h File Reference

Overview

IP configuration file.

Configuration definitions given in this file are (indirectly) used to define uIP configuration values.

Adam Dunkels' original copyright notice
  Copyright (c) 2006, Swedish Institute of Computer Science. All rights reserved.
(contained in this file) still holds. For modifications:


  Copyright © 2011 Albrecht Weinert, Bochum

Author:
Adam Dunkels adam@.nosp@m.dunk.nosp@m.els.c.nosp@m.om
Albrecht Weinert   <a-weinert.de>
Revision:
2
Date:
2017-01-25 17:49:03 +0100 (Mi, 25 Jan 2017)

Project-specific configuration options

uIP has a number of configuration options that can be overridden for each project.

These are kept in a project-specific uip-conf.h file and all configuration names have the prefix UIP_CONF.

#define UIP_CONF_UDP_CONNS   10
 Maximum number of UDP connections.
#define UIP_CONF_MAX_CONNECTIONS   10
 Maximum number of TCP connections.
#define UIP_CONF_MAX_LISTENPORTS
 Maximum number of listening TCP ports.
#define UIP_CONF_ARPTAB_SIZE   12
 The size of the ARP table.
#define UIP_CONF_BUFFER_SIZE   620
 uIP buffer size
#define UIP_CONF_BYTE_ORDER   UIP_LITTLE_ENDIAN
 CPU byte order.
#define UIP_CONF_LOGGING
 Logging on or off.
#define UIP_CONF_UDP
 UDP support on or off.
#define UIP_CONF_UDP_CHECKSUMS   1
 UDP checksums on or off.
#define UIP_CONF_INC_CHECKSUMS   0
 Check incoming checksums on or off.
#define UIP_CONF_STATISTICS   0
 uIP statistics on or off
#define UIP_CONF_BROADCAST
#define UIP_APPCALL
 Macro to name the uIP event function.
#define UIP_UDP_APPCALL
 Macro to name the uIP udp event function.
typedef uint8_t uip_tcp_appstate_t [SIZE_OF_BIGGEST_APPSTATE]
 The type of appstate in uip_conn.
void uip_appcall (void)
 The uIP event function.
void udp_appcall (void)
 The uIP udp event function.