RTEMS CPU Kit with SuperCore
4.11.3
Main Page
Related Pages
Modules
+
Data Structures
Data Structures
+
Data Fields
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Files
File List
+
Globals
+
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Functions
_
a
b
c
d
e
f
g
i
j
l
m
n
o
p
q
r
s
t
u
v
w
+
Variables
_
b
c
d
i
r
+
Typedefs
a
b
c
d
f
h
i
m
o
p
q
r
s
t
u
w
x
+
Enumerations
b
c
d
e
h
i
m
o
p
r
s
t
w
+
Enumerator
c
i
m
p
r
s
t
w
+
Macros
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
w
mnt
data0
chrisj
rtems
releases
rtems-release.git
4.11.3
ws-rtems
rtems-4.11.3
cpukit
libnetworking
rtems
rtems_dhcp_failsafe.h
Go to the documentation of this file.
1
/*
2
Description: Wrapper around DHCP client to restart it when the interface
3
moves to another network.
4
5
Authors: Arnout Vandecappelle <arnout@mind.be>, Essensium/Mind
6
Maarten Van Es <maarten@mind.be>, Essensium/Mind
7
(C) Septentrio 2008
8
9
The license and distribution terms for this file may be
10
found in the file LICENSE in this distribution or at
11
http://www.rtems.org/license/LICENSE.
12
*/
13
14
#ifndef _RTEMS_DHCP_FAILSAFE_H_
15
#define _RTEMS_DHCP_FAILSAFE_H_
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
/* Default settings for the DHCP failsafe. They can be overridden
22
* using rtems_bsdnet_dhcp_failsafe_config(); see that for descriptions.
23
*/
24
#ifndef RTEMS_DHCP_FAILSAFE_NETWORK_FAIL_TIMEOUT
25
#define RTEMS_DHCP_FAILSAFE_NETWORK_FAIL_TIMEOUT 5
26
#endif
27
28
#ifndef RTEMS_DHCP_FAILSAFE_NETWORK_DOWN_TIME
29
#define RTEMS_DHCP_FAILSAFE_NETWORK_DOWN_TIME 30
30
#endif
31
32
#ifndef RTEMS_DHCP_FAILSAFE_BROADCAST_DELAY
33
#define RTEMS_DHCP_FAILSAFE_BROADCAST_DELAY 0
34
#endif
35
36
#ifndef RTEMS_DHCP_FAILSAFE_DHCP_MONITOR_PRIORITY
37
#define RTEMS_DHCP_FAILSAFE_DHCP_MONITOR_PRIORITY 250
38
#endif
39
40
41
void
rtems_bsdnet_do_dhcp_failsafe (
void
);
42
47
void
rtems_bsdnet_dhcp_failsafe_config
(
48
int
network_fail_timeout,
51
int
network_down_time,
54
int
broadcast_delay,
57
int
dhcp_monitor_priority
58
);
59
60
#ifdef __cplusplus
61
}
62
#endif
63
64
#endif
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.
Definition:
rtems_dhcp_failsafe.c:83
Generated by
1.8.13