KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
netcfg_t Struct Reference

Network configuration information. More...

#include <kos/netcfg.h>

Data Fields

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

Detailed Description

Network configuration information.

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

Field Documentation

◆ broadcast

uint32 netcfg_t::broadcast

Broadcast address for the local net.

◆ dns

uint32 netcfg_t::dns[2]

IPv4 address of the DNS servers.

◆ driver

char netcfg_t::driver[64]

Driver program filename (if any).

◆ email

char netcfg_t::email[64]

E-Mail address.

◆ gateway

uint32 netcfg_t::gateway

IPv4 address of the gateway/router.

◆ hostname

char netcfg_t::hostname[64]

DNS/DHCP hostname.

◆ ip

uint32 netcfg_t::ip

IPv4 address of the console.

◆ method

int netcfg_t::method

How should the network be configured?

See also
Methods

◆ netmask

uint32 netcfg_t::netmask

Network mask for the local net.

◆ pop3

char netcfg_t::pop3[64]

POP3 server address.

◆ pop3_login

char netcfg_t::pop3_login[64]

POP3 server username.

◆ pop3_passwd

char netcfg_t::pop3_passwd[64]

POP3 server password.

◆ ppp_login

char netcfg_t::ppp_login[64]

PPP Username.

◆ ppp_passwd

char netcfg_t::ppp_passwd[64]

PPP Password.

◆ proxy_host

char netcfg_t::proxy_host[64]

Proxy server address.

◆ proxy_port

int netcfg_t::proxy_port

Proxy server port.

◆ smtp

char netcfg_t::smtp[64]

SMTP server address.

◆ src

int netcfg_t::src

Where was this configuration read from?

See also
Sources

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