Lines Matching refs:AF_INET6
259 EXPECT_LT(ki_socketpair(AF_INET6, SOCK_STREAM, 0, sv), 0);
429 EXPECT_TRUE(NULL != inet_ntop(AF_INET6, &real_addr,
451 EXPECT_EQ(NULL, inet_ntop(AF_INET6, &ipv6_addr,
465 { AF_INET6, "0:0:0:0:0:0:0:0", "::" },
466 { AF_INET6, "1234:5678:9abc:def0:1234:5678:9abc:def0", NULL },
467 { AF_INET6, "1:2:3:4:5:6:7:8", NULL },
468 { AF_INET6, "a:b:c:d:e:f:1:2", NULL },
469 { AF_INET6, "A:B:C:D:E:F:1:2", "a:b:c:d:e:f:1:2" },
470 { AF_INET6, "::", "::" },
471 { AF_INET6, "::12", "::12" },
472 { AF_INET6, "::1:2:3", "::1:2:3" },
473 { AF_INET6, "12::", "12::" },
474 { AF_INET6, "1:2::", "1:2::" },
475 { AF_INET6, "12:0:0:0:0:0:0:0", "12::" },
476 { AF_INET6, "1:2:3::4:5", "1:2:3::4:5" },
477 { AF_INET6, "::ffff:1.1.1.1", "::ffff:1.1.1.1" },
478 { AF_INET6, "ffff::1.1.1.1", "ffff::101:101" },
479 { AF_INET6, "::1.1.1.1", "::1.1.1.1" },
507 EXPECT_EQ(0, inet_pton(AF_INET6, ":::", &addr));
508 EXPECT_EQ(0, inet_pton(AF_INET6, "0:::0", &addr));
509 EXPECT_EQ(0, inet_pton(AF_INET6, "0::0:0::1", &addr));
510 EXPECT_EQ(0, inet_pton(AF_INET6, "0:0:0:0:0:0:1: 2", &addr));
511 EXPECT_EQ(0, inet_pton(AF_INET6, " 0:0:0:0:0:0:1:2", &addr));
512 EXPECT_EQ(0, inet_pton(AF_INET6, "0:0:0:0:0:0:1:2 ", &addr));
513 EXPECT_EQ(0, inet_pton(AF_INET6, ":0:0:0:0:0:0:1:2", &addr));
514 EXPECT_EQ(0, inet_pton(AF_INET6, "0:0:0:0:0:0:1:2:4", &addr));
515 EXPECT_EQ(0, inet_pton(AF_INET6, "0:0:0:0:0:0:1:0.0.0.0", &addr));
516 EXPECT_EQ(0, inet_pton(AF_INET6, "::0.0.0.0:1", &addr));
517 EXPECT_EQ(0, inet_pton(AF_INET6, "::0.0.0.0.0", &addr));
518 EXPECT_EQ(0, inet_pton(AF_INET6, "::1.2.3.4.5.6.7.8", &addr));