added new static-arg, 'extradata' to add fields to the packet