c88b4680d9c97d087edc8b226f489798db085341Tinderbox User * Copyright (C) 2012, 2015-2017 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt * Individual unit tests
47c5b8af920a93763c97d9a93ea1fd766961a5b3Evan Hunt ret = inet_pton(AF_INET6, "::ffff:127.0.0.1", &in6);
6588a2b404365cea59e71a3f639349272600f68dMark Andrews atf_tc_set_md_var(tc, "descr", "sockaddr is net zero");
6588a2b404365cea59e71a3f639349272600f68dMark Andrews * Mapped addresses are currently not netzero.
6588a2b404365cea59e71a3f639349272600f68dMark Andrews for (i = 0; i < sizeof(data4)/sizeof(data4[0]); i++) {
512765ba1e3f0b29e2c1ae4b0138838c6422f2bdEvan Hunt ATF_CHECK_EQ_MSG(r, data4[i].expect, "%s", data4[i].string);
6588a2b404365cea59e71a3f639349272600f68dMark Andrews for (i = 0; i < sizeof(data6)/sizeof(data6[0]); i++) {
512765ba1e3f0b29e2c1ae4b0138838c6422f2bdEvan Hunt ATF_CHECK_EQ_MSG(r, data6[i].expect, "%s", data6[i].string);