A common injection and control library for wireless packet crafting