GNUnet  0.11.x
Data Fields
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 279 of file gnunet_tun_lib.h.

Field Documentation

◆ source_port

uint16_t GNUNET_TUN_UdpHeader::source_port

Source port (in NBO).

Definition at line 284 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 289 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 294 of file gnunet_tun_lib.h.

Referenced by prepare_ipv4_packet(), and prepare_ipv6_packet().

◆ crc

uint16_t GNUNET_TUN_UdpHeader::crc

Checksum.

Definition at line 299 of file gnunet_tun_lib.h.


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