when making UDP packets, we want to try to move common code into udp.c ...