summaryrefslogtreecommitdiffstats
path: root/src/fastd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fastd.h')
-rw-r--r--src/fastd.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/fastd.h b/src/fastd.h
index 4af9f20..d911a71 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -56,7 +56,7 @@ struct _fastd_eth_addr {
uint8_t data[ETH_ALEN];
};
-struct _fastd_method {
+struct _fastd_protocol {
const char *name;
bool (*handle_config)(fastd_context *ctx, const fastd_config *conf, const char *option);
@@ -89,10 +89,13 @@ struct _fastd_config {
uint16_t mtu;
fastd_mode mode;
- fastd_method *method;
+ fastd_protocol *protocol;
- unsigned n_floating;
fastd_peer_config *peers;
+
+ unsigned n_floating;
+ unsigned n_v4;
+ unsigned n_v6;
};
struct _fastd_context {