From 58ef912c6babf1866193ab04674a5866dd761f13 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Wed, 22 Apr 1998 12:58:34 +0000 Subject: First look at data structures. More to come tomorrow... --- sysdep/config.h | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 sysdep/config.h (limited to 'sysdep/config.h') diff --git a/sysdep/config.h b/sysdep/config.h new file mode 100644 index 0000000..e83a508 --- /dev/null +++ b/sysdep/config.h @@ -0,0 +1,50 @@ +/* + * This is a manually generated BIRD configuration file. + * It will be replaced by something better when we come + * with an automated configuration mechanism. [mj] + */ + +#ifndef _BIRD_CONFIG_H_ +#define _BIRD_CONFIG_H_ + +/* System-dependent configuration */ + +#include + +/* Include debugging code */ + +#define DEBUG + +/* Types */ + +typedef signed char s8; +typedef unsigned char u8; +typedef short int s16; +typedef unsigned short int u16; +typedef int s32; +typedef unsigned int u32; + +typedef u8 byte; +typedef u16 word; + +/* Endianity */ + +#define CPU_LITTLE_ENDIAN + +/* Required alignment for multi-byte accesses */ + +#define CPU_NEEDS_ALIGN_WORD 1 +#define CPU_NEEDS_ALIGN_LONG 1 + +/* Usual alignment for structures */ + +#define CPU_STRUCT_ALIGN 4 + +/* Protocol options */ + +#define CONFIG_STATIC +#define CONFIG_RIP +#define CONFIG_BGP +#define CONFIG_OSPF + +#endif -- cgit v1.2.3