A network coding framework in multi-radio networks, implemented in ns-3