Lines Matching refs:result
38 isc_result_t result;
80 result = dns_test_begin(NULL, ISC_FALSE);
81 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
83 result = dns_acl_any(mctx, &any);
84 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
86 result = dns_acl_none(mctx, &none);
87 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
89 result = dns_acl_create(mctx, 1, ¬none);
90 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
92 result = dns_acl_create(mctx, 1, ¬any);
93 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
95 result = dns_acl_merge(notnone, none, ISC_FALSE);
96 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
98 result = dns_acl_merge(notany, any, ISC_FALSE);
99 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
112 result = dns_acl_create(mctx, 1, &pos4pos6);
113 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
115 result = dns_acl_create(mctx, 1, ¬pos4pos6);
116 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
118 result = dns_acl_create(mctx, 1, &neg4pos6);
119 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
121 result = dns_acl_create(mctx, 1, ¬neg4pos6);
122 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
124 result = dns_acl_create(mctx, 1, &pos4neg6);
125 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
127 result = dns_acl_create(mctx, 1, ¬pos4neg6);
128 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
130 result = dns_acl_create(mctx, 1, &neg4neg6);
131 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
133 result = dns_acl_create(mctx, 1, ¬neg4neg6);
134 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
138 result = dns_iptable_addprefix2(pos4pos6->iptable, &addr, 8,
140 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
143 result = dns_iptable_addprefix2(pos4pos6->iptable, &addr, 8,
145 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
147 result = dns_acl_merge(notpos4pos6, pos4pos6, ISC_FALSE);
148 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
152 result = dns_iptable_addprefix2(neg4pos6->iptable, &addr, 8,
154 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
157 result = dns_iptable_addprefix2(neg4pos6->iptable, &addr, 8,
159 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
161 result = dns_acl_merge(notneg4pos6, neg4pos6, ISC_FALSE);
162 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
166 result = dns_iptable_addprefix2(pos4neg6->iptable, &addr, 8,
168 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
171 result = dns_iptable_addprefix2(pos4neg6->iptable, &addr, 8,
173 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
175 result = dns_acl_merge(notpos4neg6, pos4neg6, ISC_FALSE);
176 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
180 result = dns_iptable_addprefix2(neg4neg6->iptable, &addr, 8,
182 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
185 result = dns_iptable_addprefix2(neg4neg6->iptable, &addr, 8,
187 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
189 result = dns_acl_merge(notneg4neg6, neg4neg6, ISC_FALSE);
190 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
210 result = dns_acl_create(mctx, 1, &loop4);
211 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
213 result = dns_acl_create(mctx, 1, ¬loop4);
214 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
216 result = dns_acl_create(mctx, 1, &loop6);
217 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
219 result = dns_acl_create(mctx, 1, ¬loop6);
220 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
224 result = dns_iptable_addprefix2(loop4->iptable, &addr, 32,
226 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
228 result = dns_acl_merge(notloop4, loop4, ISC_FALSE);
229 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
232 result = dns_iptable_addprefix2(loop6->iptable, &addr, 128,
234 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
236 result = dns_acl_merge(notloop6, loop6, ISC_FALSE);
237 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
256 result = dns_acl_create(mctx, 1, &loop4pos6);
257 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
259 result = dns_acl_create(mctx, 1, ¬loop4pos6);
260 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
262 result = dns_acl_create(mctx, 1, &loop4neg6);
263 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
265 result = dns_acl_create(mctx, 1, ¬loop4neg6);
266 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
270 result = dns_iptable_addprefix2(loop4pos6->iptable, &addr, 32,
272 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
275 result = dns_iptable_addprefix2(loop4pos6->iptable, &addr, 32,
277 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
279 result = dns_acl_merge(notloop4pos6, loop4pos6, ISC_FALSE);
280 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
284 result = dns_iptable_addprefix2(loop4neg6->iptable, &addr, 32,
286 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
289 result = dns_iptable_addprefix2(loop4neg6->iptable, &addr, 32,
291 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
293 result = dns_acl_merge(notloop4neg6, loop4neg6, ISC_FALSE);
294 ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);