GNUnet 0.22.2
GNUNET_TUN_UdpHeader Struct Reference

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...
 

Detailed Description

UDP packet header.

Definition at line 283 of file gnunet_tun_lib.h.

Field Documentation

◆ source_port

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().

◆ destination_port

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().

◆ len

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().

◆ crc

uint16_t GNUNET_TUN_UdpHeader::crc

Checksum.

Definition at line 303 of file gnunet_tun_lib.h.


The documentation for this struct was generated from the following file: