restful_server sample
_udp_recv()
is only used within restful_server sample.
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
restful_server sample
_udp_recv()
_udp_recv() function
the receive callback of the raw udp api. Packets are received here
Syntax
Show:
Summary
Declaration
Definition
from
mdns_networking_lwip.c:45
static
void
_udp_recv
(
void
*
arg
,
struct
udp_pcb
*
upcb
,
struct
pbuf
*
pb
,
const
ip_addr_t
*
raddr
,
uint16_t
rport
)
;
Implemented in
mdns_networking_lwip.c:138
Arguments
Argument
arg
upcb
pb
raddr
rport
Examples
References
from
examples
Code
Location
Referrer
static
void
_udp_recv
(
void
*
arg
,
struct
udp_pcb
*
upcb
,
struct
pbuf
*
pb
,
const
ip_addr_t
*
raddr
,
uint16_t
rport
)
mdns_networking_lwip.c:138
static
void
_udp_recv
(
void
*
arg
,
struct
udp_pcb
*
upcb
,
struct
pbuf
*
pb
,
const
ip_addr_t
*
raddr
,
uint16_t
rport
)
;
mdns_networking_lwip.c:45
udp_recv
(
_pcb_main
,
&
_udp_recv
,
NULL
)
;
mdns_networking_lwip.c:67
_udp_pcb_main_init()
Call Tree
from
examples
_udp_recv()
calls 9 functions:
All items filtered out
_udp_recv()
esp_get_free_heap_size()
esp_log_timestamp()
esp_log_write()
pbuf_free()
esp_netif_get_netif_impl()
_mdns_get_esp_netif()
_mdns_send_rx_action()
mdns_mem_malloc()
mdns_mem_free()
All items filtered out
Data Use
from
examples
_udp_recv()
reads 33 variables and writes 8 variables:
esp_log_level_t::ESP_LOG_ERROR
esp_log_level_t::ESP_LOG_WARN
esp_log_level_t::ESP_LOG_INFO
esp_log_level_t::ESP_LOG_DEBUG
esp_log_level_t::ESP_LOG_VERBOSE
lwip_ip_addr_type::IPADDR_TYPE_V4
lwip_ip_addr_type::IPADDR_TYPE_V6
ip_addr::
::ip4
ip_addr::u_addr
ip_addr::type
pbuf::next
pbuf::payload
ip4_addr::addr
esp_ip6_addr::addr
esp_ip4_addr::addr
_ip_addr::
::ip6
_ip_addr::
::ip4
_ip_addr::u_addr
_ip_addr::type
ip6_addr_packed::addr
ip6_hdr::dest
ip4_addr_packed::addr
ip_hdr::dest
ip_globals::current_input_netif
ip_data
mdns_ip_protocol_t::MDNS_IP_PROTOCOL_V4
mdns_ip_protocol_t::MDNS_IP_PROTOCOL_V6
mdns_rx_packet_t::pb
mdns_rx_packet_t::src
mdns_rx_packet_t::dest
interfaces::proto
s_interfaces
TAG
All items filtered out
_udp_recv()
pbuf::next
esp_ip4_addr::addr
_ip_addr::type
mdns_rx_packet_t::tcpip_if
mdns_rx_packet_t::ip_protocol
mdns_rx_packet_t::pb
mdns_rx_packet_t::src_port
mdns_rx_packet_t::multicast
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