15 {0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02,
16 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04}))
19 struct hostent *host =
nullptr;
23 &host, info, &
count));
31 EXPECT_EQ(
"{'example.com' aliases=[] addrs=[0101:0101:0202:0202:0303:0303:0404:0404]}", ss.str());
37 nullptr, info, &
count));
46 {0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02,
47 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04}));
49 struct hostent *host =
nullptr;
53 &host, info, &
count));
62 EXPECT_EQ(
"{'c.example.com' aliases=[example.com] addrs=[0101:0101:0202:0202:0303:0303:0404:0404]}", ss.str());
68 nullptr, info, &
count));
80 struct hostent *host =
nullptr;
84 &host, info, &
count));
91 &host, info, &
count));
101 {0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02,
102 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04}));
103 std::vector<byte>
data;
105 struct hostent *host =
nullptr;
113 &host, info, &
count));
122 &host, info, &
count));
131 &host, info, &
count));
141 &host, info, &
count));
145 {0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02,
146 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04}));
152 &host, info, &
count));
155 {0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02,
156 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04}));
162 &host, info, &
count));
165 nullptr, info, &
count));
175 {0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02,
176 0x03, 0x03, 0x03, 0x03, 0x04, 0x04, 0x04, 0x04}));
177 std::vector<byte>
data = pkt.
data();
178 struct hostent *host =
nullptr;
182 for (
int ii = 1; ii <= 8; ii++) {
186 &host, info, &
count)) << ii;