summaryrefslogtreecommitdiffstats
path: root/mmss/mmss.h
diff options
context:
space:
mode:
Diffstat (limited to 'mmss/mmss.h')
-rw-r--r--mmss/mmss.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/mmss/mmss.h b/mmss/mmss.h
index e7f773e..e8b8f32 100644
--- a/mmss/mmss.h
+++ b/mmss/mmss.h
@@ -33,7 +33,7 @@
#include "queue.h"
-struct mmss_context {
+struct mmss {
uint64_t now;
mmss_queue_t packet_queue;
};
@@ -57,20 +57,21 @@ struct mmss_packet {
};
-struct gmrf_context {
- gmrf_context_t *next;
+struct gmrf {
+ gmrf_t *next;
- mmss_context_t *mmss;
+ mmss_t *mmss;
+ gmrf_context_t *ctx;
gmrf_iface_t *interfaces;
- gmrf_handle_packet_func handle_packet;
+ mmss_protocol_t *proto;
};
struct gmrf_iface {
gmrf_iface_t *node_next;
gmrf_iface_t *network_next;
- gmrf_context_t *node;
+ gmrf_t *node;
mmss_network_t *net;
gmrf_addr_t address;