so I'm saying... 

unpackAgentId(packetData + sizeof(PACKET_HEADER_HEAD_DATA), &agentID);