GNUnet  0.11.x
Data Fields
GNUNET_NETWORK_Handle Struct Reference

handle to a socket More...

Data Fields

int fd
 
int af
 Address family / domain. More...
 
int type
 Type of the socket. More...
 
socklen_t addrlen
 Number of bytes in addr. More...
 
struct sockaddr * addr
 Address we were bound to, or NULL. More...
 

Detailed Description

handle to a socket

Definition at line 52 of file network.c.

Field Documentation

◆ fd

int GNUNET_NETWORK_Handle::fd

◆ af

int GNUNET_NETWORK_Handle::af

◆ type

int GNUNET_NETWORK_Handle::type

Type of the socket.

Definition at line 64 of file network.c.

Referenced by GNUNET_NETWORK_socket_bind(), and initialize_network_handle().

◆ addrlen

socklen_t GNUNET_NETWORK_Handle::addrlen

Number of bytes in addr.

Definition at line 69 of file network.c.

Referenced by GNUNET_NETWORK_get_addrlen(), and GNUNET_NETWORK_socket_bind().

◆ addr

struct sockaddr* GNUNET_NETWORK_Handle::addr

Address we were bound to, or NULL.

Definition at line 74 of file network.c.

Referenced by GNUNET_NETWORK_get_addr(), GNUNET_NETWORK_socket_bind(), GNUNET_NETWORK_socket_close(), and GNUNET_NETWORK_socket_free_memory_only_().


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