Lines Matching refs:addrs
207 struct sss_iface_addr addrs[3];
210 addrs[0].prev = NULL;
211 addrs[0].next = &addrs[1];
212 addrs[0].addr = &ss[0];
213 addrs[1].prev = &addrs[0];
214 addrs[1].next = &addrs[2];
215 addrs[1].addr = &ss[1];
216 addrs[2].prev = &addrs[1];
217 addrs[2].next = NULL;
218 addrs[2].addr = &ss[2];
221 assert_ptr_equal(sss_iface_addr_get_address(&addrs[0]), &ss[0]);
222 assert_ptr_equal(sss_iface_addr_get_address(&addrs[1]), &ss[1]);
223 assert_ptr_equal(sss_iface_addr_get_address(&addrs[2]), &ss[2]);
226 assert_ptr_equal(sss_iface_addr_get_next(&addrs[0]), &addrs[1]);
227 assert_ptr_equal(sss_iface_addr_get_next(&addrs[1]), &addrs[2]);
228 assert_ptr_equal(sss_iface_addr_get_next(&addrs[2]), NULL);