Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/subsys/net/lib/zperf/
Dzperf_udp_receiver.c51 static struct sockaddr udp_server_addr; variable
255 in4_addr = &net_sin(&udp_server_addr)->sin_addr; in udp_server_session()
310 in6_addr = &net_sin6(&udp_server_addr)->sin6_addr; in udp_server_session()
455 memcpy(&udp_server_addr, &param->addr, sizeof(struct sockaddr)); in zperf_udp_download()
/Zephyr-Core-3.5.0/tests/net/socket/udp/src/
Dmain.c931 static ZTEST_BMEM struct sockaddr_in6 udp_server_addr; variable
1026 (void)memset(&udp_server_addr, 0, sizeof(udp_server_addr)); in ZTEST()
1027 udp_server_addr.sin6_family = AF_INET6; in ZTEST()
1028 udp_server_addr.sin6_port = htons(1234); in ZTEST()
1029 ret = inet_pton(AF_INET6, PEER_IPV6_ADDR_ETH, &udp_server_addr.sin6_addr); in ZTEST()
1033 net_ipv6_nbr_add(eth_iface, &udp_server_addr.sin6_addr, &server_link_addr, in ZTEST()
1067 msg.msg_name = &udp_server_addr; in ZTEST_USER()
1068 msg.msg_namelen = sizeof(udp_server_addr); in ZTEST_USER()