GNUnet 0.21.1
stun_addr Struct Reference

The format normally used for addresses carried by STUN messages. More...

#include </home/buildbot/bb-worker/worker/gnunet_firefly/build/src/service/nat/nat_stun.h>

Data Fields

uint8_t unused
 
uint8_t family
 Address family, we expect AF_INET. More...
 
uint16_t port
 Port number. More...
 
uint32_t addr
 IPv4 address. More...
 

Detailed Description

The format normally used for addresses carried by STUN messages.

Definition at line 61 of file nat_stun.h.

Field Documentation

◆ unused

uint8_t stun_addr::unused

Definition at line 63 of file nat_stun.h.

◆ family

uint8_t stun_addr::family

Address family, we expect AF_INET.

Definition at line 68 of file nat_stun.h.

Referenced by stun_get_mapped().

◆ port

uint16_t stun_addr::port

Port number.

Definition at line 73 of file nat_stun.h.

Referenced by stun_get_mapped().

◆ addr

uint32_t stun_addr::addr

IPv4 address.

Should this be "struct in_addr"?

Definition at line 78 of file nat_stun.h.

Referenced by stun_get_mapped().


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