diff options
Diffstat (limited to 'mmss/protocol.hpp')
-rw-r--r-- | mmss/protocol.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mmss/protocol.hpp b/mmss/protocol.hpp index fcf54ae..0bdc60b 100644 --- a/mmss/protocol.hpp +++ b/mmss/protocol.hpp @@ -61,12 +61,12 @@ public: return proto->init(gmrf); } - void add_iface(gmrf_t *gmrf, gmrf_context_t *ctx, gmrf_iface_t *iface) const { - return proto->add_iface(gmrf, ctx, iface); + gmrf_iface_state_t* add_iface(gmrf_context_t *ctx, gmrf_iface_t *iface) const { + return proto->add_iface(ctx, iface); } - void handle_packet(gmrf_t *gmrf, gmrf_context_t *ctx, gmrf_iface_t *iface, const gmrf_addr_t *source, const void *data, size_t len) const { - return proto->handle_packet(gmrf, ctx, iface, source, data, len); + void handle_packet(gmrf_context_t *ctx, gmrf_iface_state_t *iface, const gmrf_addr_t *source, const void *data, size_t len) const { + proto->handle_packet(ctx, iface, source, data, len); } static std::shared_ptr<const protocol_t> load(context_t *mmss, const std::string &module); |