Lines Matching refs:sockaddr
139 saddr2str((struct sockaddr *)&spidx->src));
140 if (cmpsaddrwop(iph2->src, (struct sockaddr *)&spidx->src)
147 saddr2str((struct sockaddr *)&spidx->dst));
148 if (cmpsaddrwop(iph2->dst, (struct sockaddr *)&spidx->dst)
197 if (cmpsaddrstrict((struct sockaddr *)&a->src,
198 (struct sockaddr *)&b->src))
200 if (cmpsaddrstrict((struct sockaddr *)&a->dst,
201 (struct sockaddr *)&b->dst))
251 mask_sockaddr((struct sockaddr *)&sa1, (struct sockaddr *)&a->src,
253 mask_sockaddr((struct sockaddr *)&sa2, (struct sockaddr *)&b->src,
256 a, b->prefs, saddr2str((struct sockaddr *)&sa1));
258 b, b->prefs, saddr2str((struct sockaddr *)&sa2));
259 if (cmpsaddrwild((struct sockaddr *)&sa1, (struct sockaddr *)&sa2))
269 mask_sockaddr((struct sockaddr *)&sa1, (struct sockaddr *)&a->dst,
271 mask_sockaddr((struct sockaddr *)&sa2, (struct sockaddr *)&b->dst,
274 a, b->prefd, saddr2str((struct sockaddr *)&sa1));
276 b, b->prefd, saddr2str((struct sockaddr *)&sa2));
277 if (cmpsaddrwild((struct sockaddr *)&sa1, (struct sockaddr *)&sa2))
449 a = saddr2str((const struct sockaddr *)&spidx->src);
462 a = saddr2str((const struct sockaddr *)&spidx->dst);