GNUnet  0.11.x
Data Fields
GNUNET_TESTBED_AddHostMessage Struct Reference

Notify the service about a host that we intend to use. More...

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

Collaboration diagram for GNUNET_TESTBED_AddHostMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type is GNUNET_MESSAGE_TYPE_TESTBED_ADD_HOST. More...
 
uint32_t host_id
 Unique ID for the host (in NBO). More...
 
uint16_t ssh_port
 SSH port to use, 0 for default (in NBO). More...
 
uint16_t username_length
 Number of bytes in the user name that follows; 0 to use no user name; otherwise 'strlen (username)', excluding 0-termination! More...
 
uint16_t hostname_length
 Number of bytes in the host name (excluding 0-termination) that follows the user name; cannot be 0. More...
 
uint16_t config_size
 The length of the uncompressed configuration. More...
 

Detailed Description

Notify the service about a host that we intend to use.

Definition at line 64 of file testbed.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_TESTBED_AddHostMessage::header

◆ host_id

uint32_t GNUNET_TESTBED_AddHostMessage::host_id

Unique ID for the host (in NBO).

Definition at line 74 of file testbed.h.

Referenced by GNUNET_TESTBED_register_host(), and handle_add_host().

◆ ssh_port

uint16_t GNUNET_TESTBED_AddHostMessage::ssh_port

SSH port to use, 0 for default (in NBO).

Definition at line 79 of file testbed.h.

Referenced by GNUNET_TESTBED_register_host(), and handle_add_host().

◆ username_length

uint16_t GNUNET_TESTBED_AddHostMessage::username_length

Number of bytes in the user name that follows; 0 to use no user name; otherwise 'strlen (username)', excluding 0-termination!

Definition at line 86 of file testbed.h.

Referenced by check_add_host(), GNUNET_TESTBED_register_host(), and handle_add_host().

◆ hostname_length

uint16_t GNUNET_TESTBED_AddHostMessage::hostname_length

Number of bytes in the host name (excluding 0-termination) that follows the user name; cannot be 0.

Definition at line 92 of file testbed.h.

Referenced by check_add_host(), GNUNET_TESTBED_register_host(), and handle_add_host().

◆ config_size

uint16_t GNUNET_TESTBED_AddHostMessage::config_size

The length of the uncompressed configuration.

Definition at line 97 of file testbed.h.

Referenced by GNUNET_TESTBED_extract_config_(), and GNUNET_TESTBED_register_host().


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