net Struct Reference

Back to the index.

Public Attributes | List of all members
net Struct Reference

#include <net.h>

Public Attributes

struct emulemul
 
struct in_addr netmask_ipv4
 
int netmask_ipv4_len
 
int n_nics
 
void ** nic_extra
 
unsigned char gateway_ipv4_addr [4]
 
unsigned char gateway_ethernet_addr [6]
 
char * domain_name
 
int nameserver_known
 
struct in_addr nameserver_ipv4
 
int64_t timestamp
 
struct ethernet_packet_linkfirst_ethernet_packet
 
struct ethernet_packet_linklast_ethernet_packet
 
struct udp_connection udp_connections [MAX_UDP_CONNECTIONS]
 
struct tcp_connection tcp_connections [MAX_TCP_CONNECTIONS]
 
int local_port
 
int local_port_socket
 
struct remote_netremote_nets
 

Detailed Description

Definition at line 119 of file net.h.

Member Data Documentation

◆ domain_name

char* net::domain_name

Definition at line 136 of file net.h.

Referenced by net_dumpinfo(), and net_init().

◆ emul

struct emul* net::emul

Definition at line 121 of file net.h.

Referenced by net_init().

◆ first_ethernet_packet

struct ethernet_packet_link* net::first_ethernet_packet

Definition at line 142 of file net.h.

Referenced by net_allocate_ethernet_packet_link(), net_ethernet_rx(), and net_init().

◆ gateway_ethernet_addr

unsigned char net::gateway_ethernet_addr[6]

Definition at line 133 of file net.h.

Referenced by net_dumpinfo(), net_ethernet_tx(), net_ip_tcp_connectionreply(), and net_udp_rx_avail().

◆ gateway_ipv4_addr

unsigned char net::gateway_ipv4_addr[4]

Definition at line 132 of file net.h.

Referenced by net_dumpinfo(), and net_udp_rx_avail().

◆ last_ethernet_packet

struct ethernet_packet_link* net::last_ethernet_packet

Definition at line 143 of file net.h.

Referenced by net_allocate_ethernet_packet_link(), net_ethernet_rx(), and net_init().

◆ local_port

int net::local_port

Definition at line 149 of file net.h.

Referenced by net_dumpinfo(), and net_ethernet_rx_avail().

◆ local_port_socket

int net::local_port_socket

Definition at line 150 of file net.h.

Referenced by net_ethernet_rx_avail().

◆ n_nics

int net::n_nics

Definition at line 128 of file net.h.

Referenced by net_add_nic(), net_ethernet_rx_avail(), and net_ethernet_tx().

◆ nameserver_ipv4

struct in_addr net::nameserver_ipv4

Definition at line 138 of file net.h.

Referenced by net_dumpinfo().

◆ nameserver_known

int net::nameserver_known

Definition at line 137 of file net.h.

Referenced by net_dumpinfo(), and net_init().

◆ netmask_ipv4

struct in_addr net::netmask_ipv4

Definition at line 124 of file net.h.

Referenced by net_dumpinfo(), net_init(), and net_ip_broadcast().

◆ netmask_ipv4_len

int net::netmask_ipv4_len

Definition at line 125 of file net.h.

Referenced by net_dumpinfo(), net_init(), and net_ip_broadcast().

◆ nic_extra

void** net::nic_extra

Definition at line 129 of file net.h.

Referenced by net_add_nic(), net_ethernet_rx_avail(), and net_ethernet_tx().

◆ remote_nets

struct remote_net* net::remote_nets

Definition at line 151 of file net.h.

Referenced by net_dumpinfo(), and net_ethernet_tx().

◆ tcp_connections

struct tcp_connection net::tcp_connections[MAX_TCP_CONNECTIONS]

Definition at line 146 of file net.h.

Referenced by net_ip_tcp_connectionreply(), and net_tcp_rx_avail().

◆ timestamp

int64_t net::timestamp

Definition at line 140 of file net.h.

Referenced by net_init(), net_ip_tcp_connectionreply(), net_tcp_rx_avail(), and net_udp_rx_avail().

◆ udp_connections

struct udp_connection net::udp_connections[MAX_UDP_CONNECTIONS]

Definition at line 145 of file net.h.

Referenced by net_udp_rx_avail().


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

Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13