diff options
Diffstat (limited to 'mmss/mmss.h')
-rw-r--r-- | mmss/mmss.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/mmss/mmss.h b/mmss/mmss.h index 81a446f..cabd7cd 100644 --- a/mmss/mmss.h +++ b/mmss/mmss.h @@ -37,10 +37,13 @@ struct mmss_context { mmss_queue_t packet_queue; }; -struct mmss_node { - mmss_node_t *next; +struct gmrf_context { + gmrf_context_t *next; + mmss_context_t *mmss; gmrf_iface_t *interfaces; + + gmrf_handle_packet_func handle_packet; }; struct mmss_network { @@ -66,16 +69,11 @@ struct gmrf_iface { gmrf_iface_t *node_next; gmrf_iface_t *network_next; - mmss_node_t *node; + gmrf_context_t *node; mmss_network_t *net; gmrf_addr_t address; }; -struct gmrf_context { - mmss_context_t *mmss; - mmss_node_t *node; -}; - #endif /* _GMRF_MMSS_MMSS_H_ */ |