Searched refs:client_sai (Results 1 – 1 of 1) sorted by relevance
1016 struct sockaddr_in client_sai; in TEST() local1017 memset(&client_sai, 0, sizeof(client_sai)); in TEST()1018 client_sai.sin_family = AF_INET; in TEST()1019 client_sai.sin_port = 0; in TEST()1020 client_sai.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in TEST()1021 res = bind(client_socket, (struct sockaddr *)&client_sai, sizeof(client_sai)); in TEST()1024 sz = sizeof(client_sai); in TEST()1025 res = getsockname(client_socket, (struct sockaddr *)&client_sai, &sz); in TEST()1027 ASSERT_EQ(sizeof(client_sai), sz); in TEST()