restful_server sample
mdns_server_s::interfaces
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_server_s::interfaces
mdns_server_s::interfaces field
Syntax
Show:
Summary
Declaration
from
mdns_private.h:409
struct
{
mdns_pcb_t
pcbs
[
MDNS_IP_PROTOCOL_MAX
]
;
}
interfaces
[
MDNS_MAX_INTERFACES
]
;
Examples
References
from
examples
Code
Location
Referrer
}
interfaces
[
MDNS_MAX_INTERFACES
]
;
mdns_private.h:411
if
(
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
MDNS_IP_PROTOCOL_V4
]
.
state
==
PCB_DUP
mdns.c:1259
_mdns_if_is_dup()
||
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
MDNS_IP_PROTOCOL_V6
]
.
state
==
PCB_DUP
mdns.c:1260
_mdns_if_is_dup()
||
_mdns_server
->
interfaces
[
other_if
]
.
pcbs
[
MDNS_IP_PROTOCOL_V4
]
.
state
==
PCB_DUP
mdns.c:1261
_mdns_if_is_dup()
||
_mdns_server
->
interfaces
[
other_if
]
.
pcbs
[
MDNS_IP_PROTOCOL_V6
]
.
state
==
PCB_DUP
mdns.c:1262
_mdns_if_is_dup()
if
(
!
mdns_is_netif_ready
(
tcpip_if
,
MDNS_IP_PROTOCOL_V4
)
&&
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
MDNS_IP_PROTOCOL_V4
]
.
state
!=
PCB_DUP
)
{
mdns.c:1418
_mdns_append_answer()
if
(
!
mdns_is_netif_ready
(
tcpip_if
,
MDNS_IP_PROTOCOL_V6
)
&&
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
MDNS_IP_PROTOCOL_V6
]
.
state
!=
PCB_DUP
)
{
mdns.c:1448
_mdns_append_answer()
mdns_pcb_t
*
pcb
=
&
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
ip_protocol
]
;
mdns.c:2262
_mdns_init_pcb_probe_new_service()
mdns_pcb_t
*
pcb
=
&
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
ip_protocol
]
;
mdns.c:2318
_mdns_init_pcb_probe()
if
(
mdns_is_netif_ready
(
i
,
j
)
&&
_mdns_server
->
interfaces
[
i
]
.
pcbs
[
j
]
.
state
==
PCB_RUNNING
)
{
mdns.c:2391
_mdns_send_bye()
mdns_pcb_t
*
_pcb
=
&
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
ip_protocol
]
;
mdns.c:2453
_mdns_announce_pcb()
mdns_pcb_t
*
_pcb
=
&
_mdns_server
->
interfaces
[
i
]
.
pcbs
[
j
]
;
mdns.c:2500
_mdns_probe_all_pcbs()
mdns_pcb_t
*
_pcb
=
&
_mdns_server
->
interfaces
[
q
->
tcpip_if
]
.
pcbs
[
q
->
ip_protocol
]
;
mdns.c:2797
_mdns_remove_scheduled_service_packets()
mdns_pcb_t
*
_pcb
=
&
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
ip_proto
]
;
mdns.c:3014
mdns_pcb_deinit_local()
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
i
]
.
state
=
PCB_DUP
;
mdns.c:3044
_mdns_dup_interface()
if
(
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
probe_running
)
{
mdns.c:4068
mdns_parse_packet()
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
failed_probes
++
;
mdns.c:4069
mdns_parse_packet()
if
(
col
&&
!
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
probe_running
&&
service
)
{
mdns.c:4163
mdns_parse_packet()
}
else
if
(
ttl
>
(
MDNS_ANSWER_TXT_TTL
/
2
)
&&
!
col
&&
!
parsed_packet
->
authoritative
&&
!
parsed_packet
->
probe
&&
!
parsed_packet
->
questions
&&
!
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
probe_running
)
{
mdns.c:4166
mdns_parse_packet()
if
(
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
probe_running
)
{
mdns.c:4207
mdns_parse_packet()
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
failed_probes
++
;
mdns.c:4209
mdns_parse_packet()
}
else
if
(
ttl
>
60
&&
!
col
&&
!
parsed_packet
->
authoritative
&&
!
parsed_packet
->
probe
&&
!
parsed_packet
->
questions
&&
!
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
probe_running
)
{
mdns.c:4222
mdns_parse_packet()
if
(
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
probe_running
)
{
mdns.c:4264
mdns_parse_packet()
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
failed_probes
++
;
mdns.c:4266
mdns_parse_packet()
}
else
if
(
ttl
>
60
&&
!
col
&&
!
parsed_packet
->
authoritative
&&
!
parsed_packet
->
probe
&&
!
parsed_packet
->
questions
&&
!
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
probe_running
)
{
mdns.c:4279
mdns_parse_packet()
if
(
!
do_not_reply
&&
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
state
>
PCB_PROBE_3
&&
(
parsed_packet
->
questions
||
parsed_packet
->
discovery
)
)
{
mdns.c:4293
mdns_parse_packet()
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
ip_protocol
]
.
failed_probes
=
0
;
mdns.c:4360
_mdns_enable_pcb()
if
(
other_if
!=
MDNS_MAX_INTERFACES
&&
_mdns_server
->
interfaces
[
other_if
]
.
pcbs
[
ip_protocol
]
.
state
==
PCB_DUP
)
{
mdns.c:4378
_mdns_disable_pcb()
_mdns_server
->
interfaces
[
other_if
]
.
pcbs
[
ip_protocol
]
.
state
=
PCB_OFF
;
mdns.c:4379
_mdns_disable_pcb()
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
ip_protocol
]
.
state
=
PCB_OFF
;
mdns.c:4383
_mdns_disable_pcb()
if
(
mdns_is_netif_ready
(
tcpip_if
,
ip_protocol
)
&&
_mdns_server
->
interfaces
[
tcpip_if
]
.
pcbs
[
ip_protocol
]
.
state
>
PCB_INIT
)
{
mdns.c:5057
_mdns_search_send_pcb()
mdns_pcb_t
*
pcb
=
&
_mdns_server
->
interfaces
[
p
->
tcpip_if
]
.
pcbs
[
p
->
ip_protocol
]
;
mdns.c:5100
_mdns_tx_handle_packet()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mdns_server_s::interfaces
is read by 15 functions:
All items filtered out
mdns_server_s::interfaces
_mdns_if_is_dup()
_mdns_append_answer()
_mdns_init_pcb_probe_new_service()
_mdns_init_pcb_probe()
_mdns_send_bye()
_mdns_announce_pcb()
_mdns_probe_all_pcbs()
_mdns_remove_scheduled_service_packets()
mdns_pcb_deinit_local()
_mdns_dup_interface()
mdns_parse_packet()
_mdns_enable_pcb()
_mdns_disable_pcb()
_mdns_search_send_pcb()
_mdns_tx_handle_packet()
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