make packet frame