Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/net/lib/zperf/
Dzperf_udp_receiver.c45 static struct sockaddr udp_server_addr; variable
386 family = udp_server_addr.sa_family; in zperf_udp_receiver_init()
401 in4_addr = &net_sin(&udp_server_addr)->sin_addr; in zperf_udp_receiver_init()
455 in6_addr = &net_sin6(&udp_server_addr)->sin6_addr; in zperf_udp_receiver_init()
528 memcpy(&udp_server_addr, &param->addr, sizeof(struct sockaddr)); in zperf_udp_download()
/Zephyr-latest/tests/net/socket/udp/src/
Dmain.c936 static ZTEST_BMEM struct sockaddr_in6 udp_server_addr; variable
1044 (void)memset(&udp_server_addr, 0, sizeof(udp_server_addr)); in ZTEST()
1045 udp_server_addr.sin6_family = AF_INET6; in ZTEST()
1046 udp_server_addr.sin6_port = htons(1234); in ZTEST()
1047 ret = zsock_inet_pton(AF_INET6, PEER_IPV6_ADDR_ETH, &udp_server_addr.sin6_addr); in ZTEST()
1051 net_ipv6_nbr_add(eth_iface, &udp_server_addr.sin6_addr, &server_link_addr, in ZTEST()
1085 msg.msg_name = &udp_server_addr; in ZTEST_USER()
1086 msg.msg_namelen = sizeof(udp_server_addr); in ZTEST_USER()