Lines Matching refs:expected_addr

367 	const char *expected_addr;  member
2285 struct sockaddr_storage expected_addr; in test_bind() local
2298 test->expected_addr, test->expected_port, in test_bind()
2299 &expected_addr, &expected_addr_len); in test_bind()
2303 err = cmp_sock_addr(test->ops->getsockname, serv, &expected_addr, in test_bind()
2309 client = connect_to_addr(test->socket_type, &expected_addr, expected_addr_len, NULL); in test_bind()
2326 struct sockaddr_storage addr, expected_addr, expected_src_addr; in test_connect() local
2333 test->expected_addr, test->expected_port, 0); in test_connect()
2349 err = make_sockaddr(test->socket_family, test->expected_addr, test->expected_port, in test_connect()
2350 &expected_addr, &expected_addr_len); in test_connect()
2361 err = cmp_sock_addr(test->ops->getpeername, client, &expected_addr, in test_connect()
2397 test->expected_addr, test->expected_port, 0); in test_xmsg()
2491 struct sockaddr_storage expected_addr; in test_getsockname() local
2501 test->expected_addr, test->expected_port, in test_getsockname()
2502 &expected_addr, &expected_addr_len); in test_getsockname()
2506 err = cmp_sock_addr(test->ops->getsockname, serv, &expected_addr, expected_addr_len, true); in test_getsockname()
2519 struct sockaddr_storage addr, expected_addr; in test_getpeername() local
2539 err = make_sockaddr(test->socket_family, test->expected_addr, test->expected_port, in test_getpeername()
2540 &expected_addr, &expected_addr_len); in test_getpeername()
2544 err = cmp_sock_addr(test->ops->getpeername, client, &expected_addr, in test_getpeername()