GNUnet 0.22.0
LocalAddressList Struct Reference

List of local addresses this system has. More...

Collaboration diagram for LocalAddressList:
[legend]

Data Fields

struct LocalAddressListnext
 This is a linked list. More...
 
struct LocalAddressListprev
 Previous entry. More...
 
struct HelperContexthc
 Context for a gnunet-helper-nat-server used to listen for ICMP messages to this client for connection reversal. More...
 
struct sockaddr_storage addr
 The address itself (i.e. More...
 
int af
 Address family. More...
 
int old
 GNUNET_YES if we saw this one in the previous iteration, but not in the current iteration and thus might need to remove it at the end. More...
 
enum GNUNET_NAT_AddressClass ac
 What type of address is this? More...
 

Detailed Description

List of local addresses this system has.

Definition at line 95 of file gnunet-service-nat.c.

Field Documentation

◆ next

struct LocalAddressList* LocalAddressList::next

This is a linked list.

Definition at line 100 of file gnunet-service-nat.c.

Referenced by dyndns_lookup(), handle_register(), process_external_ip(), and run_scan().

◆ prev

struct LocalAddressList* LocalAddressList::prev

Previous entry.

Definition at line 105 of file gnunet-service-nat.c.

◆ hc

struct HelperContext* LocalAddressList::hc

Context for a gnunet-helper-nat-server used to listen for ICMP messages to this client for connection reversal.

Definition at line 111 of file gnunet-service-nat.c.

Referenced by free_lal().

◆ addr

struct sockaddr_storage LocalAddressList::addr

The address itself (i.e.

struct sockaddr_in or struct sockaddr_in6, in the respective byte order).

Definition at line 117 of file gnunet-service-nat.c.

Referenced by free_lal(), ifc_proc(), lookup_hole_external(), notify_client_external_ipv4_change(), process_external_ip(), and reversal_callback().

◆ af

int LocalAddressList::af

Address family.

(FIXME: redundant, addr.ss_family! Remove!?)

Definition at line 122 of file gnunet-service-nat.c.

Referenced by ifc_proc(), lookup_hole_external(), notify_client_external_ipv4_change(), process_external_ip(), and reversal_callback().

◆ old

int LocalAddressList::old

GNUNET_YES if we saw this one in the previous iteration, but not in the current iteration and thus might need to remove it at the end.

Definition at line 129 of file gnunet-service-nat.c.

Referenced by dyndns_lookup(), and process_external_ip().

◆ ac

enum GNUNET_NAT_AddressClass LocalAddressList::ac

What type of address is this?

Definition at line 134 of file gnunet-service-nat.c.

Referenced by ifc_proc(), lookup_hole_external(), notify_client_external_ipv4_change(), and process_external_ip().


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