Made endianess configuration actually work.

This commit is contained in:
oliverschmidt 2007-04-11 00:25:38 +00:00
parent 274afdb55c
commit 4bf1ecc20e
9 changed files with 16 additions and 16 deletions

View file

@ -58,7 +58,7 @@
*
* This file is part of the uIP TCP/IP stack.
*
* $Id: uipopt.h,v 1.3 2007/04/02 18:08:36 adamdunkels Exp $
* $Id: uipopt.h,v 1.4 2007/04/11 00:29:12 oliverschmidt Exp $
*
*/
@ -474,8 +474,8 @@ void uip_log(char *msg);
/**
* The byte order of the CPU architecture on which uIP is to be run.
*
* This option can be either BIG_ENDIAN (Motorola byte order) or
* LITTLE_ENDIAN (Intel byte order).
* This option can be either UIP_BIG_ENDIAN (Motorola byte order) or
* UIP_LITTLE_ENDIAN (Intel byte order).
*
* \hideinitializer
*/

View file

@ -89,7 +89,7 @@ typedef unsigned short clock_time_t;
#define UIP_CONF_MAX_CONNECTIONS 10
#define UIP_CONF_MAX_LISTENPORTS 10
#define UIP_CONF_BUFFER_SIZE (1024 - 2)
#define UIP_CONF_BYTE_ORDER LITTLE_ENDIAN
#define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
#define UIP_CONF_TCP_SPLIT 1
#define UIP_CONF_LOGGING 1
#define UIP_CONF_UDP_CHECKSUMS 1

View file

@ -520,7 +520,7 @@ architecture specific files to work). */
#define UIP_CONF_BUFFER_SIZE 400
#define UIP_CONF_RECEIVE_WINDOW 320
#define UIP_CONF_BYTE_ORDER LITTLE_ENDIAN
#define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
#define UIP_CONF_ARBTAB_SIZE 4

View file

@ -32,7 +32,7 @@
*
* This file is part of the Contiki desktop OS
*
* $Id: contiki-conf.h,v 1.3 2006/08/30 14:48:36 fros4943 Exp $
* $Id: contiki-conf.h,v 1.4 2007/04/11 00:26:27 oliverschmidt Exp $
*
*/
@ -247,7 +247,7 @@ architecture specific files to work). */
#define UIP_CONF_MAX_LISTENPORTS 4
#define UIP_CONF_BUFFER_SIZE 200
#define UIP_CONF_BYTE_ORDER LITTLE_ENDIAN
#define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
#define UIP_CONF_BROADCAST 1

View file

@ -140,7 +140,7 @@ typedef unsigned short uip_stats_t;
#define UIP_CONF_MAX_LISTENPORTS 40
#define UIP_CONF_BUFFER_SIZE 420
#define UIP_CONF_BYTE_ORDER LITTLE_ENDIAN
#define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
#define UIP_CONF_TCP_SPLIT 1

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: contiki-conf.h,v 1.3 2006/08/15 14:48:00 oliverschmidt Exp $
* @(#)$Id: contiki-conf.h,v 1.4 2007/04/11 00:27:17 oliverschmidt Exp $
*/
#ifndef __CONTIKI_CONF_H__
@ -52,7 +52,7 @@ typedef unsigned short uip_stats_t;
#define UIP_CONF_MAX_CONNECTIONS 40
#define UIP_CONF_MAX_LISTENPORTS 40
#define UIP_CONF_BUFFER_SIZE 600
#define UIP_CONF_BYTE_ORDER LITTLE_ENDIAN
#define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
#define UIP_CONF_TCP_SPLIT 1
#define UIP_CONF_LOGGING 1
#define UIP_CONF_UDP_CHECKSUMS 1

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: contiki-conf.h,v 1.3 2006/08/15 14:48:18 oliverschmidt Exp $
* @(#)$Id: contiki-conf.h,v 1.4 2007/04/11 00:27:31 oliverschmidt Exp $
*/
#ifndef __CONTIKI_CONF_H__
@ -56,7 +56,7 @@ typedef unsigned short uip_stats_t;
#define UIP_CONF_MAX_CONNECTIONS 40
#define UIP_CONF_MAX_LISTENPORTS 40
#define UIP_CONF_BUFFER_SIZE 420
#define UIP_CONF_BYTE_ORDER LITTLE_ENDIAN
#define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
#define UIP_CONF_TCP_SPLIT 1
#define UIP_CONF_LOGGING 1
#define UIP_CONF_UDP_CHECKSUMS 1

View file

@ -28,7 +28,7 @@
*
* This file is part of the Contiki operating system.
*
* @(#)$Id: contiki-conf.h,v 1.3 2006/08/15 14:48:33 oliverschmidt Exp $
* @(#)$Id: contiki-conf.h,v 1.4 2007/04/11 00:27:56 oliverschmidt Exp $
*/
#ifndef __CONTIKI_CONF_H__
@ -53,7 +53,7 @@ typedef unsigned short uip_stats_t;
#define UIP_CONF_MAX_CONNECTIONS 40
#define UIP_CONF_MAX_LISTENPORTS 40
#define UIP_CONF_BUFFER_SIZE 420
#define UIP_CONF_BYTE_ORDER LITTLE_ENDIAN
#define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
#define UIP_CONF_TCP_SPLIT 1
#define UIP_CONF_LOGGING 0
#define UIP_CONF_UDP_CHECKSUMS 1

View file

@ -32,7 +32,7 @@
*
* This file is part of the Contiki desktop OS
*
* $Id: contiki-conf.h,v 1.5 2007/03/29 22:24:21 adamdunkels Exp $
* $Id: contiki-conf.h,v 1.6 2007/04/11 00:28:26 oliverschmidt Exp $
*
*/
@ -103,7 +103,7 @@ typedef unsigned long clock_time_t;
#define UIP_CONF_MAX_LISTENPORTS 40
#define UIP_CONF_BUFFER_SIZE 120
#define UIP_CONF_BYTE_ORDER LITTLE_ENDIAN
#define UIP_CONF_BYTE_ORDER UIP_LITTLE_ENDIAN
#define UIP_CONF_BROADCAST 1