Watt-32 tcp/ip  2.2 dev-rel.10
Enumerations | Functions | Variables
sock_ini.h File Reference

Go to the source code of this file.

Enumerations

enum  eth_init_result {
  WERR_NO_ERROR,
  WERR_ILL_DOSX,
  WERR_NO_MEM,
  WERR_NO_DRIVER,
  WERR_PKT_ERROR,
  WERR_BOOTP_FAIL,
  WERR_DHCP_FAIL,
  WERR_RARP_FAIL,
  WERR_NO_IPADDR,
  WERR_PPPOE_DISC
}
 

Functions

static int sock_init (void)
 

Variables

int _bootp_on
 Try booting using BOOTP ?
 
int _dhcp_on
 Try booting using DHCP ?
 
int _dhcp6_on
 Try booting using DHCP6 ?
 
int _rarp_on
 Try booting using RARP ?
 
BOOL _do_mask_req
 do an "ICMP Mask Request" when configured
 
BOOL _watt_do_exit
 exit program when all boot attempts failed
 
BOOL _watt_is_init
 watt_sock_init() done (but with possible failed boot)
 
BOOL survive_eth
 GvB 2002-09, allows us to survive without a (working) packet driver at all - in cases where life still has a meaning without TCP/IP.
 
BOOL survive_bootp
 Survive a failed BOOTP attempt. More...
 
BOOL survive_dhcp
 Survive a failed DHCP attempt. More...
 
BOOL survive_rarp
 Don't survive a failed RARP attempt.
 
WattUserConfigFunc _watt_user_config_fn
 

Variable Documentation

BOOL survive_bootp

Survive a failed BOOTP attempt.

Don't survive a failed BOOTP attempt.

Definition at line 145 of file sock_ini.c.

BOOL survive_dhcp

Survive a failed DHCP attempt.

Don't survive a failed DHCP attempt.

Definition at line 151 of file sock_ini.c.