35typedef struct __attribute__((packed)) {
Functions to work with different byte orders.
void udp_hdr_print(udp_hdr_t *hdr)
Print the given UDP header to STDOUT.
network_uint16_t checksum
checksum
network_uint16_t length
payload length (including the header)
network_uint16_t dst_port
destination port
network_uint16_t src_port
source port
A 16 bit integer in big endian aka network byte order.