RTEMS CPU Kit with SuperCore  4.11.3
Macros | Functions
rtems_dhcp_failsafe.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RTEMS_DHCP_FAILSAFE_NETWORK_FAIL_TIMEOUT   5
 
#define RTEMS_DHCP_FAILSAFE_NETWORK_DOWN_TIME   30
 
#define RTEMS_DHCP_FAILSAFE_BROADCAST_DELAY   0
 
#define RTEMS_DHCP_FAILSAFE_DHCP_MONITOR_PRIORITY   250
 

Functions

void rtems_bsdnet_do_dhcp_failsafe (void)
 
void rtems_bsdnet_dhcp_failsafe_config (int network_fail_timeout, int network_down_time, int broadcast_delay, int dhcp_monitor_priority)
 Set the DHCP fallback options. More...
 

Function Documentation

◆ rtems_bsdnet_dhcp_failsafe_config()

void rtems_bsdnet_dhcp_failsafe_config ( int  network_fail_timeout,
int  network_down_time,
int  broadcast_delay,
int  dhcp_monitor_priority 
)

Set the DHCP fallback options.

See the commentary at the top of the implementation.

Note
Some of these options can be compile-time disabled - see the code.
Parameters
network_fail_timeoutThe number of seconds before the interface is considered disconnected
network_down_timeThe number of seconds the interface remains down.
broadcast_delayThe delay in seconds before broadcasts are sent.
dhcp_monitor_priorityThe monitor priority.