lwIP
dhcp_recv()
is only used within lwIP.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
lwIP
dhcp_recv()
dhcp_recv() function
If an incoming DHCP message is in response to us, then trigger the state machine
Syntax
Show:
Summary
Declaration
Definition
from
dhcp.c:263
static
void
dhcp_recv
(
void
*
arg
,
struct
udp_pcb
*
pcb
,
struct
pbuf
*
p
,
const
ip_addr_t
*
addr
,
u16_t
port
)
;
Implemented in
dhcp.c:1845
Arguments
Argument
Declared as
arg
void
*
pcb
struct
udp_pcb
*
p
struct
pbuf
*
addr
const
ip_addr_t
*
port
u16_t
Examples
References
from
examples
Code
Location
Referrer
dhcp_recv
(
void
*
arg
,
struct
udp_pcb
*
pcb
,
struct
pbuf
*
p
,
const
ip_addr_t
*
addr
,
u16_t
port
)
dhcp.c:1846
static
void
dhcp_recv
(
void
*
arg
,
struct
udp_pcb
*
pcb
,
struct
pbuf
*
p
,
const
ip_addr_t
*
addr
,
u16_t
port
)
;
dhcp.c:263
udp_recv
(
dhcp_pcb
,
dhcp_recv
,
NULL
)
;
dhcp.c:304
dhcp_inc_pcb_refcount()
Call Tree
from
examples
dhcp_recv()
calls 10 functions:
All items filtered out
dhcp_recv()
__assert_func()
lwip_htonl()
pbuf_free()
dhcp_check()
dhcp_handle_offer()
dhcp_handle_nak()
dhcp_handle_ack()
dhcp_bind()
dhcp_parse_reply()
abort()
All items filtered out
Data Use
from
examples
dhcp_recv()
reads 26 variables and writes 1 variable:
lwip_ip_addr_type::IPADDR_TYPE_V4
ip_addr::type
pbuf::payload
pbuf::len
err_enum_t::ERR_OK
lwip_internal_netif_client_data_index::LWIP_NETIF_CLIENT_DATA_INDEX_DHCP
netif::client_data
netif::hwaddr
netif::hwaddr_len
netif::flags
ip_globals::current_input_netif
ip_data
dhcp::xid
dhcp::pcb_allocated
dhcp::state
dhcp_msg::op
dhcp_msg::xid
dhcp_msg::chaddr
dhcp_state_enum_t::DHCP_STATE_REQUESTING
dhcp_state_enum_t::DHCP_STATE_REBOOTING
dhcp_state_enum_t::DHCP_STATE_REBINDING
dhcp_state_enum_t::DHCP_STATE_RENEWING
dhcp_state_enum_t::DHCP_STATE_SELECTING
dhcp_option_idx::DHCP_OPTION_IDX_MSG_TYPE
dhcp_rx_options_val
dhcp_rx_options_given
All items filtered out
dhcp_recv()
dhcp_inc_pcb_refcount()
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