35typedef struct __attribute__((packed)) {
 
 
Functions to work with different byte orders.
 
be_uint16_t network_uint16_t
A 16 bit integer in network byte order.
 
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