iperf sample
socket_send()
is only used within iperf sample.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
iperf sample
socket_send()
socket_send() function
Syntax
Show:
Summary
Declaration
from
iperf.c:172
IRAM_ATTR
static
void
socket_send
(
int
send_socket
,
struct
sockaddr_storage
dest_addr
,
uint8_t
type
,
int
bw_lim
)
;
Arguments
Argument
Declared as
send_socket
int
dest_addr
struct
sockaddr_storage
type
uint8_t
bw_lim
int
Examples
References
from
examples
Code
Location
Referrer
IRAM_ATTR
static
void
socket_send
(
int
send_socket
,
struct
sockaddr_storage
dest_addr
,
uint8_t
type
,
int
bw_lim
)
iperf.c:172
socket_send
(
client_socket
,
dest_addr
,
IPERF_TRANS_TYPE_TCP
,
s_iperf_ctrl
.
cfg
.
bw_lim
)
;
iperf.c:407
iperf_run_tcp_client()
socket_send
(
client_socket
,
dest_addr
,
IPERF_TRANS_TYPE_UDP
,
s_iperf_ctrl
.
cfg
.
bw_lim
)
;
iperf.c:548
iperf_run_udp_client()
Call Tree
from
examples
socket_send()
is called by 2 functions and calls 5 functions:
iperf_run_tcp_client()
iperf_run_udp_client()
All items filtered out
socket_send()
esp_rom_delay_us()
sendto()
iperf_start_report()
iperf_get_socket_error_code()
iperf_show_socket_error_reason()
All items filtered out
Data Use
from
examples
socket_send()
reads 7 variables and writes 1 variable:
iperf_cfg_t::type
iperf_ctrl_t::cfg
iperf_ctrl_t::finish
iperf_ctrl_t::actual_len
iperf_ctrl_t::buffer_len
iperf_ctrl_t::buffer
s_iperf_ctrl
All items filtered out
socket_send()
iperf_ctrl_t::actual_len
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