Migration to GitLab
[6bed4] / nonstd.h.test
1 /* The error line below is here to satisfy RFC requirements: We cannot
2  * distribute code that has non-standard protocol numbers built in as
3  * defaults.  So you must read this and understand that you are running
4  * a non-compliant, experimental code version.  When you agree, please
5  * change the error directives to warnings -- then, the code will build.
6  *
7  * Sincerely, Rick van Rein, OpenFortress.
8  */
9
10 // #error "Build uses experimental Neighbor Discovery Option Type 253 for Destination Link-Layer Address"
11
12 #define ND_OPT_DESTINATION_LINKADDR 253
13
14
15 // #error "Build uses experimental UDP port number 25790 or 0x64be"
16
17 #define UDP_PORT_6BED4 25790
18
19
20 #warning "Build uses temporary IPv4 address information"
21
22 #define SERVER_6BED4_IPV4_TXT                   "145.136.0.1"
23 #define SERVER_6BED4_IPV4_INT32                 ( (145L << 24) | (136L << 16) | (0L << 8) | 1L )
24 #define SERVER_6BED4_IPV4_INT0                  145
25 #define SERVER_6BED4_IPV4_INT1                  136
26 #define SERVER_6BED4_IPV4_INT2                  0
27 #define SERVER_6BED4_IPV4_INT3                  1
28 #define SERVER_6BED4_IPV4_BINSTR                "\x91\x88\x00\x01"
29
30 #define SERVER_6BED4_PORT_TXT                   "25790"
31 #define SERVER_6BED4_PORT_BINSTR                "\xbe\x64"
32
33 #define SERVER_6BED4_IPV4_PORT_TXT              "145.136.0.1:25790"
34 #define SERVER_6BED4_PORT_IPV4_ADDRSTR          "\xbe\x64\x91\x88\x00\x01"
35 #define SERVER_6BED4_PORT_IPV4_MACSTR           "\xbe\x64\x91\x88\x00\x01"
36
37 /* Define LOCAL_OVERRIDES_PORT0 to forcefully detect 6bed4 port 0 as an
38  * override to a local address.  This is used when a host uses its own /64
39  * and has no other addresses available.
40  */
41 #define LOCAL_OVERRIDES_PORT0 yes
42
43 /* Possibly override the name of the interface from the default "6bed4"
44  */
45 // #define INTERFACE_NAME_6BED4 "6bed4"