got a wrapper for the rpacket struct.