Lines Matching refs:dst
117 if (spidx->src.ss_family != spidx->dst.ss_family) {
119 "address family mismatch, src:%d dst:%d\n",
121 spidx->dst.ss_family);
150 saddr2str(iph2->dst));
152 saddr2str((struct sockaddr *)&spidx->dst));
154 if (cmpsaddr(iph2->dst, (struct sockaddr *) &spidx->dst) != CMPSADDR_MATCH ||
206 if (cmpsaddr((struct sockaddr *) &a->dst,
207 (struct sockaddr *) &b->dst) != CMPSADDR_MATCH)
243 if (a->dst.ss_family != b->dst.ss_family)
251 "src.ss_len:%d dst.ss_len:%d\n",
268 /* compare dst address */
269 if (sizeof(sa1) < a->dst.ss_len || sizeof(sa2) < b->dst.ss_len) {
274 mask_sockaddr((struct sockaddr *)&sa1, (struct sockaddr *)&a->dst,
276 mask_sockaddr((struct sockaddr *)&sa2, (struct sockaddr *)&b->dst,
331 struct sockaddr_storage src, dst;
341 dst = spidx.dst;
346 src = spidx.dst;
347 dst = spidx.src;
356 spidx.dst = dst;
377 spidx.src = dst;
378 spidx.dst = src;
472 a = saddr2str((const struct sockaddr *)&spidx->dst);