Uncrapify.
Factor out the end-point number / end-point mask handling.
Report on ethernet port changes to monkey.