-typedef enum rmode_t {
- RMODE_HUB = 0,
- RMODE_SWITCH,
- RMODE_ROUTER,
-} rmode_t;
-
-extern rmode_t routing_mode;
-extern bool overwrite_mac;
-extern bool priorityinheritance;
-extern int macexpire;
-
-extern mac_t mymac;
-
-extern void age_subnets(void);
-extern void route(struct node_t *, struct vpn_packet_t *);