Home
last modified time | relevance | path

Searched refs:is_udp (Results 1 – 2 of 2) sorted by relevance

/Zephyr-latest/samples/net/sockets/echo_service/src/
Dmain.c34 static void receive_data(bool is_udp, struct net_socket_service_event *pev,
59 static void receive_data(bool is_udp, struct net_socket_service_event *pev, in receive_data() argument
77 if (!is_udp && sockfd_tcp[0].fd == client) { in receive_data()
95 if (is_udp) { in receive_data()
/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_shell.c709 bool is_udp, bool async) in execute_upload() argument
734 if (is_udp && IS_ENABLED(CONFIG_NET_UDP)) { in execute_upload()
769 if (is_udp && !IS_ENABLED(CONFIG_NET_UDP)) { in execute_upload()
775 if (!is_udp && IS_ENABLED(CONFIG_NET_TCP)) { in execute_upload()
795 if (!is_udp && !IS_ENABLED(CONFIG_NET_TCP)) { in execute_upload()
841 bool is_udp; in shell_cmd_upload() local
847 is_udp = proto == IPPROTO_UDP; in shell_cmd_upload()
876 if (is_udp) { in shell_cmd_upload()
914 if (is_udp) { in shell_cmd_upload()
943 if (is_udp) { in shell_cmd_upload()
[all …]