rfclient: Keep track of FlowTable threads

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
rfclient: Add Synchronised Queue

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
rfclient: Add Gateway Resolver thread

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
rfclient: Re-Queue routes that fail to send

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
FlowTable: Improve code formatting

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
FlowTable: Don't send RouteMod with unknown gateway

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
FlowTable: Replace tabs with spaces

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Ensure const property on FlowTable type comparisons

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Replace hostTable list with map

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Improve thread-safety for hostTable modification

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Improve host entry error logging

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Simplify route entry handling code

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Refactor searching for local interfaces

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Improve thread-safety for sending IPC messages

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Whitespace fixes

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
MongoIPC: Only handle up to ten messages at a time

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
RouteMod: Convert i8 to string for export

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Resolve gateways before sending flows to hardware

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
GWResolver: Simplify variable naming

Signed-off-by: Joe Stringer <joestringernz@gmail.com>
Simplify neighbour discovery code

Signed-off-by: Joe Stringer <joestringernz@gmail.com>