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