udp struct and udp header print function