merge with inet-framework
modifications for to use Batman in the mac layer