restful_server sample
mdns_tx_packet_s
is only used within restful_server sample.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/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_tx_packet_s
mdns_tx_packet_s struct
Syntax
Show:
Summary
Declaration
from
mdns_private.h:328
typedef
struct
mdns_tx_packet_s
{
struct
mdns_tx_packet_s
*
next
;
uint32_t
send_at
;
mdns_if_t
tcpip_if
;
mdns_ip_protocol_t
ip_protocol
;
esp_ip_addr_t
dst
;
uint16_t
port
;
uint16_t
flags
;
uint8_t
distributed
;
mdns_out_question_t
*
questions
;
mdns_out_answer_t
*
answers
;
mdns_out_answer_t
*
servers
;
mdns_out_answer_t
*
additional
;
bool
queued
;
uint16_t
id
;
}
mdns_tx_packet_t
;
Fields
Field
Declared as
mdns_tx_packet_s::next
struct
mdns_tx_packet_s
*
mdns_tx_packet_s::send_at
uint32_t
mdns_tx_packet_s::tcpip_if
mdns_if_t
mdns_tx_packet_s::ip_protocol
mdns_ip_protocol_t
mdns_tx_packet_s::dst
esp_ip_addr_t
mdns_tx_packet_s::port
uint16_t
mdns_tx_packet_s::flags
uint16_t
mdns_tx_packet_s::distributed
uint8_t
mdns_tx_packet_s::questions
mdns_out_question_t
*
mdns_tx_packet_s::answers
mdns_out_answer_t
*
mdns_tx_packet_s::servers
mdns_out_answer_t
*
mdns_tx_packet_s::additional
mdns_out_answer_t
*
mdns_tx_packet_s::queued
bool
mdns_tx_packet_s::id
uint16_t
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
struct
mdns_tx_packet_s
{
mdns_private.h:328
}
mdns_tx_packet_t
;
mdns_private.h:343
static
void
_mdns_dispatch_tx_packet
(
mdns_tx_packet_t
*
p
)
mdns.c:1490
_mdns_dispatch_tx_packet()
_mdns_dispatch_tx_packet()::p
static
void
_mdns_free_tx_packet
(
mdns_tx_packet_t
*
packet
)
mdns.c:1559
_mdns_free_tx_packet()
_mdns_free_tx_packet()::packet
static
void
_mdns_schedule_tx_packet
(
mdns_tx_packet_t
*
packet
,
uint32_t
ms_after
)
mdns.c:1588
_mdns_schedule_tx_packet()
_mdns_schedule_tx_packet()::packet
mdns_tx_packet_t
*
q
=
_mdns_server
->
tx_queue_head
;
mdns.c:1600
_mdns_schedule_tx_packet()
mdns_tx_packet_t
*
q
;
mdns.c:1613
_mdns_clear_tx_queue_head()
mdns_tx_packet_t
*
q
,
*
p
;
mdns.c:1629
_mdns_clear_pcb_tx_queue_head()
static
mdns_tx_packet_t
*
_mdns_get_next_pcb_packet
(
mdns_if_t
tcpip_if
,
mdns_ip_protocol_t
ip_protocol
)
mdns.c:1655
_mdns_get_next_pcb_packet()
mdns_tx_packet_t
*
q
=
_mdns_server
->
tx_queue_head
;
mdns.c:1657
_mdns_get_next_pcb_packet()
mdns_tx_packet_t
*
q
=
_mdns_server
->
tx_queue_head
;
mdns.c:1676
_mdns_remove_scheduled_answer()
static
mdns_tx_packet_t
*
_mdns_alloc_packet_default
(
mdns_if_t
tcpip_if
,
mdns_ip_protocol_t
ip_protocol
)
mdns.c:1763
_mdns_alloc_packet_default()
mdns_tx_packet_t
*
packet
=
(
mdns_tx_packet_t
*
)
mdns_mem_malloc
(
sizeof
(
mdns_tx_packet_t
)
)
;
mdns.c:1765
_mdns_alloc_packet_default()
memset
(
(
uint8_t
*
)
packet
,
0
,
sizeof
(
mdns_tx_packet_t
)
)
;
mdns.c:1770
_mdns_alloc_packet_default()
static
bool
_mdns_create_answer_from_service
(
mdns_tx_packet_t
*
packet
,
mdns_service_t
*
service
,
mdns.c:1789
_mdns_create_answer_from_service()
_mdns_create_answer_from_service()::packet
static
bool
_mdns_create_answer_from_hostname
(
mdns_tx_packet_t
*
packet
,
const
char
*
hostname
,
bool
send_flush
)
mdns.c:1824
_mdns_create_answer_from_hostname()
_mdns_create_answer_from_hostname()::packet
mdns_tx_packet_t
*
packet
=
_mdns_alloc_packet_default
(
parsed_packet
->
tcpip_if
,
parsed_packet
->
ip_protocol
)
;
mdns.c:1870
_mdns_create_answer_from_parsed_packet()
static
mdns_tx_packet_t
*
_mdns_create_probe_packet
(
mdns_if_t
tcpip_if
,
mdns_ip_protocol_t
ip_protocol
,
mdns_srv_item_t
*
services
[
]
,
size_t
len
,
bool
first
,
bool
include_ip
)
mdns.c:2112
_mdns_create_probe_packet()
mdns_tx_packet_t
*
packet
=
_mdns_alloc_packet_default
(
tcpip_if
,
ip_protocol
)
;
mdns.c:2114
_mdns_create_probe_packet()
static
mdns_tx_packet_t
*
_mdns_create_announce_packet
(
mdns_if_t
tcpip_if
,
mdns_ip_protocol_t
ip_protocol
,
mdns_srv_item_t
*
services
[
]
,
size_t
len
,
bool
include_ip
)
mdns.c:2166
_mdns_create_announce_packet()
mdns_tx_packet_t
*
packet
=
_mdns_alloc_packet_default
(
tcpip_if
,
ip_protocol
)
;
mdns.c:2168
_mdns_create_announce_packet()
static
mdns_tx_packet_t
*
_mdns_create_announce_from_probe
(
mdns_tx_packet_t
*
probe
)
mdns.c:2196
_mdns_create_announce_from_probe()
mdns_tx_packet_t
*
packet
=
_mdns_alloc_packet_default
(
probe
->
tcpip_if
,
probe
->
ip_protocol
)
;
mdns.c:2198
_mdns_create_announce_from_probe()
mdns_tx_packet_t
*
packet
=
_mdns_alloc_packet_default
(
tcpip_if
,
ip_protocol
)
;
mdns.c:2238
_mdns_pcb_send_bye()
mdns_tx_packet_t
*
packet
=
_mdns_create_probe_packet
(
tcpip_if
,
ip_protocol
,
_services
,
services_final_len
,
true
,
probe_ip
)
;
mdns.c:2295
_mdns_init_pcb_probe_new_service()
mdns_tx_packet_t
*
packet
=
_mdns_alloc_packet_default
(
(
mdns_if_t
)
i
,
(
mdns_ip_protocol_t
)
j
)
;
mdns.c:2407
_mdns_send_bye_subtype()
mdns_tx_packet_t
*
p
=
_mdns_get_next_pcb_packet
(
tcpip_if
,
ip_protocol
)
;
mdns.c:2459
_mdns_announce_pcb()
mdns_tx_packet_t
*
p
=
_mdns_create_announce_packet
(
tcpip_if
,
ip_protocol
,
services
,
len
,
include_ip
)
;
mdns.c:2483
_mdns_announce_pcb()
mdns_tx_packet_t
*
p
=
NULL
;
mdns.c:2787
_mdns_remove_scheduled_service_packets()
mdns_tx_packet_t
*
q
=
_mdns_server
->
tx_queue_head
;
mdns.c:2788
_mdns_remove_scheduled_service_packets()
queueDetach
(
mdns_tx_packet_t
,
_mdns_server
->
tx_queue_head
,
p
)
;
mdns.c:2857
_mdns_remove_scheduled_service_packets()
static
mdns_tx_packet_t
*
_mdns_create_search_packet
(
mdns_search_once_t
*
search
,
mdns_if_t
tcpip_if
,
mdns_ip_protocol_t
ip_protocol
)
mdns.c:4997
_mdns_create_search_packet()
mdns_tx_packet_t
*
packet
=
_mdns_alloc_packet_default
(
tcpip_if
,
ip_protocol
)
;
mdns.c:5000
_mdns_create_search_packet()
mdns_tx_packet_t
*
packet
=
NULL
;
mdns.c:5056
_mdns_search_send_pcb()
static
void
_mdns_tx_handle_packet
(
mdns_tx_packet_t
*
p
)
mdns.c:5096
_mdns_tx_handle_packet()
_mdns_tx_handle_packet()::p
mdns_tx_packet_t
*
a
=
NULL
;
mdns.c:5098
_mdns_tx_handle_packet()
mdns_tx_packet_t
*
p
=
_mdns_server
->
tx_queue_head
;
mdns.c:5273
_mdns_execute_action()
mdns_tx_packet_t
*
p
=
_mdns_server
->
tx_queue_head
;
mdns.c:5345
_mdns_scheduler_run()
struct
mdns_tx_packet_s
*
next
;
mdns_private.h:329
mdns_tx_packet_s
mdns_tx_packet_s::next
}
mdns_tx_packet_t
;
mdns_private.h:343
mdns_tx_packet_t
mdns_tx_packet_t
*
tx_queue_head
;
mdns_private.h:417
mdns_server_s
mdns_server_s::tx_queue_head
mdns_tx_packet_t
*
packet
;
mdns_private.h:438
mdns_action_t::
::
::packet
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
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
Instance
Scope
Location
Project
mdns_tx_packet_s::next
mdns_tx_packet_s
mdns_private.h:329
mdns_server_s::tx_queue_head
mdns_server_s
mdns_private.h:417
mdns_action_t::
::
::packet
mdns_private.h:438
_mdns_dispatch_tx_packet()::p
_mdns_dispatch_tx_packet()
mdns.c:1490
_mdns_free_tx_packet()::packet
_mdns_free_tx_packet()
mdns.c:1559
_mdns_schedule_tx_packet()::packet
_mdns_schedule_tx_packet()
mdns.c:1588
return
_mdns_get_next_pcb_packet()
mdns.c:1655
return
_mdns_alloc_packet_default()
mdns.c:1763
_mdns_create_answer_from_service()::packet
_mdns_create_answer_from_service()
mdns.c:1789
_mdns_create_answer_from_hostname()::packet
_mdns_create_answer_from_hostname()
mdns.c:1824
return
_mdns_create_probe_packet()
mdns.c:2112
return
_mdns_create_announce_packet()
mdns.c:2166
return
_mdns_create_announce_from_probe()
mdns.c:2196
_mdns_create_announce_from_probe()::probe
_mdns_create_announce_from_probe()
mdns.c:2196
return
_mdns_create_search_packet()
mdns.c:4997
_mdns_tx_handle_packet()::p
_mdns_tx_handle_packet()
mdns.c:5096
Lifecycle
from
examples
All items filtered out
All items filtered out