LwIP
dhcp_msg
is only used within LwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
STM32 Libraries and Samples
LwIP
dhcp_msg
dhcp_msg struct
minimum set of fields of any DHCP message
Syntax
Show:
Summary
Declaration
from
dhcp.h:63
struct
dhcp_msg
{
PACK_STRUCT_FLD_8
(
u8_t
op
)
;
PACK_STRUCT_FLD_8
(
u8_t
htype
)
;
PACK_STRUCT_FLD_8
(
u8_t
hlen
)
;
PACK_STRUCT_FLD_8
(
u8_t
hops
)
;
PACK_STRUCT_FIELD
(
u32_t
xid
)
;
PACK_STRUCT_FIELD
(
u16_t
secs
)
;
PACK_STRUCT_FIELD
(
u16_t
flags
)
;
PACK_STRUCT_FLD_S
(
ip4_addr_p_t
ciaddr
)
;
PACK_STRUCT_FLD_S
(
ip4_addr_p_t
yiaddr
)
;
PACK_STRUCT_FLD_S
(
ip4_addr_p_t
siaddr
)
;
PACK_STRUCT_FLD_S
(
ip4_addr_p_t
giaddr
)
;
PACK_STRUCT_FLD_8
(
u8_t
chaddr
[
DHCP_CHADDR_LEN
]
)
;
PACK_STRUCT_FLD_8
(
u8_t
sname
[
DHCP_SNAME_LEN
]
)
;
PACK_STRUCT_FLD_8
(
u8_t
file
[
DHCP_FILE_LEN
]
)
;
PACK_STRUCT_FIELD
(
u32_t
cookie
)
;
#define
DHCP_MIN_OPTIONS_LEN
68U
#if
(
(
defined
(
DHCP_OPTIONS_LEN
)
)
&&
(
DHCP_OPTIONS_LEN
<
DHCP_MIN_OPTIONS_LEN
)
)
# undef
DHCP_OPTIONS_LEN
#endif
#if
(
!
defined
(
DHCP_OPTIONS_LEN
)
)
# define
DHCP_OPTIONS_LEN
DHCP_MIN_OPTIONS_LEN
#endif
PACK_STRUCT_FLD_8
(
u8_t
options
[
DHCP_OPTIONS_LEN
]
)
;
}
;
Fields
Field
Declared as
dhcp_msg::op
u8_t
dhcp_msg::htype
u8_t
dhcp_msg::hlen
u8_t
dhcp_msg::hops
u8_t
dhcp_msg::xid
u32_t
dhcp_msg::secs
u16_t
dhcp_msg::flags
u16_t
dhcp_msg::ciaddr
ip4_addr_p_t
dhcp_msg::yiaddr
ip4_addr_p_t
dhcp_msg::siaddr
ip4_addr_p_t
dhcp_msg::giaddr
ip4_addr_p_t
dhcp_msg::chaddr
u8_t
[
DHCP_CHADDR_LEN
]
dhcp_msg::sname
u8_t
[
DHCP_SNAME_LEN
]
dhcp_msg::file
u8_t
[
DHCP_FILE_LEN
]
dhcp_msg::cookie
u32_t
dhcp_msg::options
u8_t
[
DHCP_OPTIONS_LEN
]
Related Functions
Found 2 other functions taking a
dhcp_msg
argument:
Function
Description
dhcp_handle_ack()
Handle a DHCP ACK packet
dhcp_handle_offer()
Remember the configuration offered by a DHCP server.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out