… | |
… | |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
15 | GNU General Public License for more details. |
15 | GNU General Public License for more details. |
16 | |
16 | |
17 | You should have received a copy of the GNU General Public License |
17 | You should have received a copy of the GNU General Public License |
18 | along with gvpe; if not, write to the Free Software |
18 | along with gvpe; if not, write to the Free Software |
19 | Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | Foundation, Inc. 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
20 | */ |
20 | */ |
21 | |
21 | |
22 | #ifndef GVPE_CONF_H__ |
22 | #ifndef GVPE_CONF_H__ |
23 | #define GVPE_CONF_H__ |
23 | #define GVPE_CONF_H__ |
24 | |
24 | |
… | |
… | |
76 | |
76 | |
77 | enum connectmode { C_ONDEMAND, C_NEVER, C_ALWAYS, C_DISABLED } connectmode; |
77 | enum connectmode { C_ONDEMAND, C_NEVER, C_ALWAYS, C_DISABLED } connectmode; |
78 | bool compress; |
78 | bool compress; |
79 | bool inherit_tos; // inherit TOS in packets send to this destination |
79 | bool inherit_tos; // inherit TOS in packets send to this destination |
80 | |
80 | |
|
|
81 | vector<const char *> allow_direct; |
|
|
82 | vector<const char *> deny_direct; |
|
|
83 | |
81 | u32 routerprio; |
84 | u32 routerprio; |
|
|
85 | |
|
|
86 | bool can_direct (struct conf_node *other); |
82 | |
87 | |
83 | void print (); |
88 | void print (); |
84 | |
89 | |
85 | ~conf_node (); |
90 | ~conf_node (); |
86 | }; |
91 | }; |