UDP packet header. More...
#include <gnunet_tun_lib.h>
Data Fields | |
uint16_t | source_port |
Source port (in NBO). More... | |
uint16_t | destination_port |
Destination port (in NBO). More... | |
uint16_t | len |
Number of bytes of payload. More... | |
uint16_t | crc |
Checksum. More... | |
UDP packet header.
Definition at line 283 of file gnunet_tun_lib.h.
uint16_t GNUNET_TUN_UdpHeader::source_port |
Source port (in NBO).
Definition at line 288 of file gnunet_tun_lib.h.
Referenced by icmp_from_helper(), prepare_ipv4_packet(), prepare_ipv6_packet(), and request_done().
uint16_t GNUNET_TUN_UdpHeader::destination_port |
Destination port (in NBO).
Definition at line 293 of file gnunet_tun_lib.h.
Referenced by icmp_from_helper(), prepare_ipv4_packet(), prepare_ipv6_packet(), and request_done().
uint16_t GNUNET_TUN_UdpHeader::len |
Number of bytes of payload.
Definition at line 298 of file gnunet_tun_lib.h.
Referenced by prepare_ipv4_packet(), prepare_ipv6_packet(), and send_udp_packet_via_tun().
uint16_t GNUNET_TUN_UdpHeader::crc |
Checksum.
Definition at line 303 of file gnunet_tun_lib.h.