Lines Matching refs:src
28 /* $FreeBSD: src/sys/netinet/ip_encap.c,v 1.1.2.2 2001/07/03 11:01:46 ume Exp $ */
82 * The code will let you match protocol via src/dst address pair.
210 * if both src/dst are matched for IPv4, 64 should be returned).
217 * src=3ffe::/16, dst=3ffe:501::/32
218 * src=3ffe:501::/32, dst=3ffe::/16
339 * sp (src ptr) is always my side, and dp (dst ptr) is always remote side.
356 if (sp->sa_len > sizeof(ep->src) || dp->sa_len > sizeof(ep->dst)) {
375 if (ep->src.ss_len != sp->sa_len ||
376 bcmp(&ep->src, sp, sp->sa_len) != 0 ||
397 bcopy(sp, &ep->src, sp->sa_len);
487 if (sp->sa_len != ep->src.ss_len || dp->sa_len != ep->dst.ss_len)
516 if (bcmp(&s, &ep->src, ep->src.ss_len) == 0 &&