Searched refs:sock_addr (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/subsys/net/lib/zperf/ |
D | zperf_tcp_receiver.c | 40 static struct sockaddr sock_addr[SOCK_ID_MAX]; variable 114 memset(&sock_addr[i], 0, sizeof(struct sockaddr)); in tcp_receiver_cleanup() 184 memcpy(&sock_addr[i], &addr_incoming_conn, addrlen); in tcp_recv_data() 213 tcp_received(&sock_addr[i], ret); in tcp_recv_data() 217 memset(&sock_addr[i], 0, sizeof(struct sockaddr)); in tcp_recv_data() 322 memcpy(net_sin(&sock_addr[SOCK_ID_IPV4_LISTEN]), in4_addr, in zperf_tcp_receiver_init() 327 &sock_addr[SOCK_ID_IPV4_LISTEN]); in zperf_tcp_receiver_init() 370 memcpy(net_sin6(&sock_addr[SOCK_ID_IPV6_LISTEN]), in6_addr, in zperf_tcp_receiver_init() 375 &sock_addr[SOCK_ID_IPV6_LISTEN]); in zperf_tcp_receiver_init()
|