summaryrefslogtreecommitdiff
path: root/sysdep/config.h
blob: e83a50884623c3241568421d225b1f958068d48c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
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 <sysdep/cf/linux-20.h>

/* 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