esp_local_ctrl sample
_mdns_service_match_instance()
is only used within esp_local_ctrl sample.
Symbol previews are coming soon...
Symbols
loading (1/5)...
Files
loading (3/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
esp_local_ctrl sample
_mdns_service_match_instance()
_mdns_service_match_instance() function
Syntax
Show:
Summary
Declaration
from
mdns.c:409
static
bool
_mdns_service_match_instance
(
const
mdns_service_t
*
srv
,
const
char
*
instance
,
const
char
*
service
,
const
char
*
proto
,
const
char
*
hostname
)
;
Arguments
Argument
srv
instance
service
proto
hostname
Examples
References
from
examples
Code
Location
Referrer
static
bool
_mdns_service_match_instance
(
const
mdns_service_t
*
srv
,
const
char
*
instance
,
const
char
*
service
,
mdns.c:409
if
(
_mdns_service_match_instance
(
s
->
service
,
instance
,
service
,
proto
,
hostname
)
)
{
mdns.c:428
_mdns_get_service_item_instance()
if
(
_mdns_service_match_instance
(
service
->
service
,
r
->
host
,
r
->
service
,
r
->
proto
,
NULL
)
&&
r
->
ttl
>
(
MDNS_ANSWER_PTR_TTL
/
2
)
)
{
mdns.c:1902
_mdns_create_answer_from_parsed_packet()
if
(
_mdns_service_match_instance
(
a
->
service
,
instance
,
service
,
proto
,
hostname
)
)
{
mdns.c:6681
mdns_service_remove_for_host()
Call Tree
from
examples
_mdns_service_match_instance()
is called by 3 functions and calls 2 functions:
_mdns_get_service_item_instance()
_mdns_create_answer_from_parsed_packet()
mdns_service_remove_for_host()
All items filtered out
_mdns_service_match_instance()
_str_null_or_empty()
_mdns_instance_name_match()
All items filtered out
Data Use
from
examples
_mdns_service_match_instance()
reads 4 variables:
mdns_service_t::instance
mdns_service_t::service
mdns_service_t::proto
mdns_service_t::hostname
All items filtered out
_mdns_service_match_instance()
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