GNUnet  0.11.x
Data Fields
GNUNET_NAT_RegisterMessage Struct Reference

Message sent by a client to register with its addresses. More...

#include </home/handbook/gnunet/src/nat/nat.h>

Collaboration diagram for GNUNET_NAT_RegisterMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Header with type GNUNET_MESSAGE_TYPE_NAT_REGISTER. More...
 
uint8_t flags
 An enum GNUNET_NAT_RegisterFlags. More...
 
uint8_t proto
 Client's IPPROTO, e.g. More...
 
uint16_t str_len
 Number of bytes in the string that follow which specifies a section name in the configuration. More...
 
uint16_t num_addrs
 Number of addresses that this service is bound to that follow. More...
 

Detailed Description

Message sent by a client to register with its addresses.

Definition at line 94 of file nat.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_NAT_RegisterMessage::header

Header with type GNUNET_MESSAGE_TYPE_NAT_REGISTER.

Definition at line 99 of file nat.h.

Referenced by check_register(), GNUNET_NAT_register(), and handle_register().

◆ flags

uint8_t GNUNET_NAT_RegisterMessage::flags

An enum GNUNET_NAT_RegisterFlags.

Definition at line 104 of file nat.h.

Referenced by GNUNET_NAT_register(), and handle_register().

◆ proto

uint8_t GNUNET_NAT_RegisterMessage::proto

Client's IPPROTO, e.g.

IPPROTO_UDP or IPPROTO_TCP.

Definition at line 109 of file nat.h.

Referenced by GNUNET_NAT_register(), and handle_register().

◆ str_len

uint16_t GNUNET_NAT_RegisterMessage::str_len

Number of bytes in the string that follow which specifies a section name in the configuration.

Definition at line 115 of file nat.h.

Referenced by check_register(), GNUNET_NAT_register(), and handle_register().

◆ num_addrs

uint16_t GNUNET_NAT_RegisterMessage::num_addrs

Number of addresses that this service is bound to that follow.

Given as an array of "struct sockaddr" entries, the size of each entry being determined by the "sa_family" at the beginning.

Definition at line 122 of file nat.h.

Referenced by check_register(), GNUNET_NAT_register(), and handle_register().


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