|
Electroneum
|
#include <outside_network.h>

Public Attributes | |
| struct sockaddr_storage | addr |
| socklen_t | addrlen |
| int | pfxlen |
| int * | avail_ports |
| int | avail_total |
| struct port_comm ** | out |
| int | maxout |
| int | inuse |
Outgoing interface. Ports available and currently used are tracked per interface
Definition at line 165 of file outside_network.h.
| struct sockaddr_storage port_if::addr |
address ready to allocate new socket (except port no).
Definition at line 167 of file outside_network.h.
| socklen_t port_if::addrlen |
length of addr field
Definition at line 169 of file outside_network.h.
| int* port_if::avail_ports |
the available ports array. These are unused. Only the first total-inuse part is filled.
Definition at line 177 of file outside_network.h.
| int port_if::avail_total |
the total number of available ports (size of the array)
Definition at line 179 of file outside_network.h.
| int port_if::inuse |
number of commpoints (and thus also ports) in use
Definition at line 187 of file outside_network.h.
| int port_if::maxout |
max number of fds, size of out array
Definition at line 185 of file outside_network.h.
| struct port_comm** port_if::out |
array of the commpoints currently in use. allocated for max number of fds, first part in use.
Definition at line 183 of file outside_network.h.
| int port_if::pfxlen |
prefix length of network address (in bits), for randomisation. if 0, no randomisation.
Definition at line 173 of file outside_network.h.