KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Data Fields
netcfg Struct Reference

Network configuration information. More...

#include <kos/netcfg.h>

Data Fields

int src
 Where was this configuration read from? More...
 
int method
 How should the network be configured? More...
 
uint32 ip
 IPv4 address of the console. More...
 
uint32 gateway
 IPv4 address of the gateway/router. More...
 
uint32 netmask
 Network mask for the local net. More...
 
uint32 broadcast
 Broadcast address for the local net. More...
 
uint32 dns [2]
 IPv4 address of the DNS servers. More...
 
char hostname [64]
 DNS/DHCP hostname. More...
 
char email [64]
 E-Mail address. More...
 
char smtp [64]
 SMTP server address. More...
 
char pop3 [64]
 POP3 server address. More...
 
char pop3_login [64]
 POP3 server username. More...
 
char pop3_passwd [64]
 POP3 server password. More...
 
char proxy_host [64]
 Proxy server address. More...
 
int proxy_port
 Proxy server port. More...
 
char ppp_login [64]
 PPP Username. More...
 
char ppp_passwd [64]
 PPP Password. More...
 
char driver [64]
 Driver program filename (if any). More...
 

Detailed Description

Network configuration information.

This structure contains information about the network configuration of the system, as set up by the user.

Field Documentation

uint32 netcfg::broadcast

Broadcast address for the local net.

uint32 netcfg::dns[2]

IPv4 address of the DNS servers.

char netcfg::driver[64]

Driver program filename (if any).

char netcfg::email[64]

E-Mail address.

uint32 netcfg::gateway

IPv4 address of the gateway/router.

char netcfg::hostname[64]

DNS/DHCP hostname.

uint32 netcfg::ip

IPv4 address of the console.

int netcfg::method

How should the network be configured?

See also
Network connection methods
uint32 netcfg::netmask

Network mask for the local net.

char netcfg::pop3[64]

POP3 server address.

char netcfg::pop3_login[64]

POP3 server username.

char netcfg::pop3_passwd[64]

POP3 server password.

char netcfg::ppp_login[64]

PPP Username.

char netcfg::ppp_passwd[64]

PPP Password.

char netcfg::proxy_host[64]

Proxy server address.

int netcfg::proxy_port

Proxy server port.

char netcfg::smtp[64]

SMTP server address.

int netcfg::src

Where was this configuration read from?

See also
Network configuration sources

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