restful_server sample
mdns_rx_packet_t::ip_protocol
is only used within restful_server sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/5)...
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_rx_packet_t::ip_protocol
mdns_rx_packet_t::ip_protocol field
Syntax
Show:
Summary
Declaration
from
mdns_private.h:262
mdns_ip_protocol_t
ip_protocol
;
Examples
References
from
examples
Code
Location
Referrer
mdns_ip_protocol_t
ip_protocol
;
mdns_private.h:262
if
(
packet
->
ip_protocol
==
MDNS_IP_PROTOCOL_V4
)
{
mdns.c:3699
mdns_parse_packet()
if
(
packet
->
ip_protocol
==
MDNS_IP_PROTOCOL_V6
)
{
mdns.c:3708
mdns_parse_packet()
parsed_packet
->
ip_protocol
=
packet
->
ip_protocol
;
mdns.c:3752
mdns_parse_packet()
search_result
=
_mdns_search_find_from
(
_mdns_server
->
search_once
,
name
,
type
,
packet
->
tcpip_if
,
packet
->
ip_protocol
)
;
mdns.c:3896
mdns_parse_packet()
browse_result
=
_mdns_browse_find_from
(
_mdns_server
->
browse
,
name
,
type
,
packet
->
tcpip_if
,
packet
->
ip_protocol
)
;
mdns.c:3897
mdns_parse_packet()
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
)
;
mdns.c:3944
mdns_parse_packet()
_mdns_remove_scheduled_answer
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
type
,
service
)
;
mdns.c:3958
mdns_parse_packet()
&&
packet
->
ip_protocol
==
result
->
ip_protocol
mdns.c:4007
mdns_parse_packet()
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
)
;
mdns.c:4015
mdns_parse_packet()
browse_result_proto
,
port
,
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
,
out_sync_browse
)
;
mdns.c:4034
mdns_parse_packet()
_mdns_search_result_add_srv
(
search_result
,
name
->
host
,
port
,
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
)
;
mdns.c:4043
mdns_parse_packet()
_mdns_remove_scheduled_answer
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
type
,
service
)
;
mdns.c:4050
mdns_parse_packet()
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()
_mdns_pcb_send_bye
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
&
service
,
1
,
false
)
;
mdns.c:4095
mdns_parse_packet()
_mdns_init_pcb_probe
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
&
service
,
1
,
false
)
;
mdns.c:4096
mdns_parse_packet()
_mdns_remove_scheduled_answer
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
type
,
service
)
;
mdns.c:4100
mdns_parse_packet()
txt
,
txt_value_len
,
txt_count
,
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
,
out_sync_browse
)
;
mdns.c:4112
mdns_parse_packet()
&&
packet
->
ip_protocol
==
result
->
ip_protocol
mdns.c:4119
mdns_parse_packet()
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
)
;
mdns.c:4127
mdns_parse_packet()
_mdns_search_result_add_txt
(
search_result
,
txt
,
txt_value_len
,
txt_count
,
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
)
;
mdns.c:4143
mdns_parse_packet()
if
(
col
&&
!
_mdns_server
->
interfaces
[
packet
->
tcpip_if
]
.
pcbs
[
packet
->
ip_protocol
]
.
probe_running
&&
service
)
{
mdns.c:4163
mdns_parse_packet()
_mdns_init_pcb_probe
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
&
service
,
1
,
true
)
;
mdns.c:4165
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()
_mdns_remove_scheduled_answer
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
type
,
service
)
;
mdns.c:4167
mdns_parse_packet()
_mdns_browse_result_add_ip
(
browse_result
,
name
->
host
,
&
ip6
,
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
,
out_sync_browse
)
;
mdns.c:4178
mdns_parse_packet()
_mdns_search_result_add_ip
(
search_result
,
name
->
host
,
&
ip6
,
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
)
;
mdns.c:4183
mdns_parse_packet()
search_result
=
_mdns_search_find_from
(
search_result
->
next
,
name
,
type
,
packet
->
tcpip_if
,
packet
->
ip_protocol
)
;
mdns.c:4184
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()
_mdns_init_pcb_probe
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
NULL
,
0
,
true
)
;
mdns.c:4220
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()
_mdns_remove_scheduled_answer
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
type
,
NULL
)
;
mdns.c:4223
mdns_parse_packet()
_mdns_browse_result_add_ip
(
browse_result
,
name
->
host
,
&
ip
,
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
,
out_sync_browse
)
;
mdns.c:4235
mdns_parse_packet()
_mdns_search_result_add_ip
(
search_result
,
name
->
host
,
&
ip
,
packet
->
tcpip_if
,
packet
->
ip_protocol
,
ttl
)
;
mdns.c:4240
mdns_parse_packet()
search_result
=
_mdns_search_find_from
(
search_result
->
next
,
name
,
type
,
packet
->
tcpip_if
,
packet
->
ip_protocol
)
;
mdns.c:4241
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()
_mdns_init_pcb_probe
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
NULL
,
0
,
true
)
;
mdns.c:4277
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()
_mdns_remove_scheduled_answer
(
packet
->
tcpip_if
,
packet
->
ip_protocol
,
type
,
NULL
)
;
mdns.c:4280
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()
packet
->
ip_protocol
=
MDNS_IP_PROTOCOL_V4
;
mdns_networking_lwip.c:172
_udp_recv()
packet
->
ip_protocol
=
MDNS_IP_PROTOCOL_V6
;
mdns_networking_lwip.c:180
_udp_recv()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
mdns_rx_packet_t::ip_protocol
is written by 1 function and is read by 1 function:
_udp_recv()
All items filtered out
mdns_rx_packet_t::ip_protocol
mdns_parse_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