GNUnet 0.21.2
NT_Network Struct Reference

We keep a list of our local networks so we can answer LAN vs. More...

Collaboration diagram for NT_Network:
[legend]

Data Fields

struct NT_Networknext
 Kept in a DLL. More...
 
struct NT_Networkprev
 Kept in a DLL. More...
 
struct sockaddr * network
 Network address. More...
 
struct sockaddr * netmask
 Netmask to determine what is in the LAN. More...
 
socklen_t length
 How long are network and netmask? More...
 

Detailed Description

We keep a list of our local networks so we can answer LAN vs.

WAN questions. Note: WLAN is not detected yet. (maybe we can do that heuristically based on interface name in the future?).

Definition at line 71 of file nt.c.

Field Documentation

◆ next

struct NT_Network* NT_Network::next

Kept in a DLL.

Definition at line 76 of file nt.c.

Referenced by GNUNET_NT_scanner_get_type().

◆ prev

struct NT_Network* NT_Network::prev

Kept in a DLL.

Definition at line 81 of file nt.c.

◆ network

struct sockaddr* NT_Network::network

Network address.

Definition at line 86 of file nt.c.

Referenced by GNUNET_NT_scanner_get_type(), and interface_proc().

◆ netmask

struct sockaddr* NT_Network::netmask

Netmask to determine what is in the LAN.

Definition at line 91 of file nt.c.

Referenced by GNUNET_NT_scanner_get_type(), and interface_proc().

◆ length

socklen_t NT_Network::length

How long are network and netmask?

Definition at line 96 of file nt.c.

Referenced by GNUNET_NT_scanner_get_type().


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