Lines Matching defs:dst
524 struct sockaddr *dst = NULL, *src = NULL;
566 dst = (struct sockaddr *)
574 dst = (struct sockaddr *)
581 dst = (struct sockaddr *)
586 if (src->sa_family != dst->sa_family)
606 switch (dst->sa_family) {
609 if (dst->sa_len != sizeof(struct sockaddr_in))
615 if (dst->sa_len != sizeof(struct sockaddr_in6))
649 if (sc2->gif_pdst->sa_family != dst->sa_family ||
650 sc2->gif_pdst->sa_len != dst->sa_len ||
656 if (bcmp(sc2->gif_pdst, dst, dst->sa_len) == 0 &&
671 if (dst->sa_family == AF_INET &&
672 multidest(dst) && multidest(sc2->gif_pdst)) {
678 if (dst->sa_family == AF_INET6 &&
679 multidest6(dst) && multidest6(sc2->gif_pdst)) {
696 sa = (struct sockaddr *)_MALLOC(dst->sa_len, M_IFADDR, M_WAITOK);
697 bcopy((caddr_t)dst, (caddr_t)sa, dst->sa_len);
736 dst = &ifr->ifr_addr;
742 dst = (struct sockaddr *)
753 bcopy((caddr_t)src, (caddr_t)dst, src->sa_len);
768 dst = &ifr->ifr_addr;
774 dst = (struct sockaddr *)
785 bcopy((caddr_t)src, (caddr_t)dst, src->sa_len);
796 dst = (struct sockaddr *)
801 bcopy((caddr_t)src, (caddr_t)dst, src->sa_len);
803 /* copy dst */
805 dst = (struct sockaddr *)
810 bcopy((caddr_t)src, (caddr_t)dst, src->sa_len);