RTEMS CPU Kit with SuperCore
4.11.3
|
#include <rtems.h>
#include <rtems/error.h>
#include <rtems/rtems_bsdnet.h>
#include <rtems/rtems_bsdnet_internal.h>
#include <string.h>
#include <stdio.h>
#include <errno.h>
#include <rtems/dhcp.h>
#include <rtems/rtems_dhcp_failsafe.h>
#include <sys/ioctl.h>
#include <sys/socket.h>
#include <net/route.h>
#include <netinet/in.h>
#include <net/if.h>
#include <net/if_var.h>
#include <netinet/in_var.h>
#include <sys/sockio.h>
#include <arpa/inet.h>
Functions | |
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... | |
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.
See the commentary at the top of the implementation.
network_fail_timeout_ | The number of seconds before the interface is considered disconnected |
network_down_time_ | The number of seconds the interface remains down. |
broadcast_delay_ | The delay in seconds before broadcasts are sent. |
dhcp_monitor_priority_ | The monitor priority. |