dealing with nonstandard packets in compilation