UDP¶
Provides UDP header and helper functions.
See also
-
void
udp_hdr_print
(udp_hdr_t * hdr)¶ Print the given UDP header to STDOUT.
Parameters
hdr: UDP header to print
-
struct
udp_hdr_t
¶ UDP header.
-
byteorder.h::network_uint16_t
src_port
¶ source port
-
byteorder.h::network_uint16_t
dst_port
¶ destination port
-
byteorder.h::network_uint16_t
length
¶ payload length (including the header)
-
byteorder.h::network_uint16_t
checksum
¶ checksum
-