Lines Matching refs:addr2
105 BIO_ADDR *addr1 = NULL, *addr2 = NULL, *addr3 = NULL, *addr4 = NULL, in test_bio_dgram_impl() local
145 addr2 = BIO_ADDR_new(); in test_bio_dgram_impl()
146 if (!TEST_ptr(addr2)) in test_bio_dgram_impl()
168 if (!TEST_int_eq(BIO_ADDR_rawmake(addr2, af, pina, inal, 0), 1)) in test_bio_dgram_impl()
180 || BIO_bind(fd2, addr2, 0) <= 0) { in test_bio_dgram_impl()
189 info2.addr = addr2; in test_bio_dgram_impl()
196 if (!TEST_int_gt(BIO_ADDR_rawport(addr2), 0)) in test_bio_dgram_impl()
207 if (!TEST_int_gt(BIO_dgram_set_peer(b1, addr2), 0)) in test_bio_dgram_impl()
258 tx_msg[0].peer = addr2; in test_bio_dgram_impl()
260 tx_msg[1].peer = addr2; in test_bio_dgram_impl()
373 if (!TEST_int_eq(compare_addr(addr4, addr2), 1)) in test_bio_dgram_impl()
376 if (!TEST_int_eq(compare_addr(addr6, addr2), 1)) in test_bio_dgram_impl()
388 tx_msg[i].peer = addr2; in test_bio_dgram_impl()
424 BIO_ADDR_free(addr2); in test_bio_dgram_impl()
501 BIO_ADDR *addr1 = NULL, *addr2 = NULL, *addr3 = NULL, *addr4 = NULL; in test_bio_dgram_pair() local
639 addr2 = BIO_ADDR_new(); in test_bio_dgram_pair()
640 if (!TEST_ptr(addr2)) in test_bio_dgram_pair()
643 if (!TEST_int_eq(BIO_ADDR_rawmake(addr2, AF_INET, &in_local, in test_bio_dgram_pair()
710 msgs[0].local = addr2; in test_bio_dgram_pair()
771 BIO_ADDR_free(addr2); in test_bio_dgram_pair()