unix: fix style issues in udp.c