GNUnet  0.20.0
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 72 of file nt.c.

Field Documentation

◆ next

struct NT_Network* NT_Network::next

Kept in a DLL.

Definition at line 77 of file nt.c.

◆ prev

struct NT_Network* NT_Network::prev

Kept in a DLL.

Definition at line 82 of file nt.c.

◆ network

struct sockaddr* NT_Network::network

Network address.

Definition at line 87 of file nt.c.

Referenced by interface_proc().

◆ netmask

struct sockaddr* NT_Network::netmask

Netmask to determine what is in the LAN.

Definition at line 92 of file nt.c.

Referenced by interface_proc().

◆ length

socklen_t NT_Network::length

How long are network and netmask?

Definition at line 97 of file nt.c.


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