restful_server sample
mdns_service_t::proto
is only used within restful_server sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
restful_server sample
mdns_service_t::proto
mdns_service_t::proto field
Syntax
Show:
Summary
Declaration
from
mdns_private.h:285
const
char
*
proto
;
Examples
References
from
examples
Code
Location
Referrer
const
char
*
proto
;
mdns_private.h:285
return
!
strcasecmp
(
srv
->
service
,
service
)
&&
!
strcasecmp
(
srv
->
proto
,
proto
)
&&
mdns.c:278
_mdns_service_match()
!
strcasecmp
(
srv
->
proto
,
proto
)
&&
(
_str_null_or_empty
(
hostname
)
||
!
strcasecmp
(
srv
->
hostname
,
hostname
)
)
;
mdns.c:419
_mdns_service_match_instance()
str
[
1
]
=
service
->
proto
;
mdns.c:935
_mdns_append_sdptr_record()
str
[
2
]
=
service
->
proto
;
mdns.c:980
_mdns_append_txt_record()
str
[
2
]
=
service
->
proto
;
mdns.c:1044
_mdns_append_srv_record()
service
->
proto
,
flush
,
bye
)
<=
0
)
{
mdns.c:1356
_mdns_append_service_ptr_answers()
service
->
service
,
service
->
proto
,
flush
,
bye
)
>
0
)
;
mdns.c:1365
_mdns_append_service_ptr_answers()
q
->
proto
=
services
[
i
]
->
service
->
proto
;
mdns.c:2132
_mdns_create_probe_packet()
count
+=
(
_mdns_append_subtype_ptr_record
(
pkt
,
&
index
,
instance_name
,
current_subtype
->
subtype
,
a
->
service
->
service
,
a
->
service
->
proto
,
a
->
flush
,
a
->
bye
)
>
0
)
;
mdns.c:2432
_mdns_send_bye_subtype()
s
->
proto
=
mdns_mem_strndup
(
proto
,
MDNS_NAME_BUF_LEN
-
1
)
;
mdns.c:2737
_mdns_create_service()
if
(
!
s
->
proto
)
{
mdns.c:2738
_mdns_create_service()
mdns_mem_free
(
(
char
*
)
s
->
proto
)
;
mdns.c:2747
_mdns_create_service()
&&
qs
->
proto
&&
strcmp
(
qs
->
proto
,
service
->
proto
)
==
0
)
{
mdns.c:2830
_mdns_remove_scheduled_service_packets()
&&
qsn
->
proto
&&
strcmp
(
qsn
->
proto
,
service
->
proto
)
==
0
)
{
mdns.c:2837
_mdns_remove_scheduled_service_packets()
mdns_mem_free
(
(
char
*
)
service
->
proto
)
;
mdns.c:2891
_mdns_free_service()
&&
!
strcasecmp
(
service
->
service
->
proto
,
question
->
proto
)
mdns.c:3453
_mdns_question_matches()
&&
!
strcasecmp
(
service
->
service
->
proto
,
question
->
proto
)
mdns.c:3466
_mdns_question_matches()
question
->
proto
=
mdns_mem_strdup
(
a
->
service
->
proto
)
;
mdns.c:3803
mdns_parse_packet()
if
(
!
strcasecmp
(
srv
->
service
,
service
)
&&
!
strcasecmp
(
srv
->
proto
,
proto
)
&&
mdns.c:6141
_mdns_lookup_service()
item
->
proto
=
mdns_mem_strndup
(
srv
->
proto
,
MDNS_NAME_BUF_LEN
-
1
)
;
mdns.c:6167
_mdns_lookup_service()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mdns_service_t::proto
is written by 1 function and is read by 14 functions:
_mdns_create_service()
All items filtered out
mdns_service_t::proto
_mdns_service_match()
_mdns_service_match_instance()
_mdns_append_sdptr_record()
_mdns_append_txt_record()
_mdns_append_srv_record()
_mdns_append_service_ptr_answers()
_mdns_create_probe_packet()
_mdns_send_bye_subtype()
_mdns_create_service()
_mdns_remove_scheduled_service_packets()
_mdns_free_service()
_mdns_question_matches()
mdns_parse_packet()
_mdns_lookup_service()
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