pktgen calculates payload size and allocates memory for it