digital: added packet header generator