… | |
… | |
45 | char *nodename; // nodename, an internal nickname. |
45 | char *nodename; // nodename, an internal nickname. |
46 | |
46 | |
47 | char *hostname; // hostname, if known, or NULL. |
47 | char *hostname; // hostname, if known, or NULL. |
48 | u16 port; // the port to bind to |
48 | u16 port; // the port to bind to |
49 | |
49 | |
50 | enum connectmode { C_ONDEMAND, C_NEVER, C_ALWAYS } connectmode; |
50 | enum connectmode { C_ONDEMAND, C_NEVER, C_ALWAYS, C_DISABLED } connectmode; |
51 | bool compress; |
51 | bool compress; |
52 | bool inherit_tos; // inherit TOS in packets send to this destination |
52 | bool inherit_tos; // inherit TOS in packets send to this destination |
53 | u32 can_recv, can_send; |
53 | u32 can_recv, can_send; |
54 | |
54 | |
55 | u32 routerprio; |
55 | u32 routerprio; |